#include
#include
using namespace std;
void pie_price(int a, int b, int n)
{
assert((a >= 0) && (a <= 1000));<br> assert((b >= 0) && (b <= 99));<br> assert((n >= 1) && (n <= 1000));<br> double price = a * 1.0 + b / 100.0;
float res = price * n;
int kop = res * 100;
cout << "Rubles " << res << endl;<br> cout << "Kopeyks " << kop << endl;<br>}
int main()
{
int a, b, n;
cin >> a >> b >> n;
pie_price(a, b, n);
}