Module: INTEGER DIVISION AND REMAIN


Problem

5 /16


Pies

Problem

Rabbit Clever went to the bakery for pies. One pie costs A dollars plus B cents. Determine how many dollars and cents are needed to pay for N pies.

Input format
Đ•here are three numbers in one line: A, B, N.

Output format
Output two numbers: the purchase price in dollars  and cents (see the output format for examples).
 

Examples
N Input Ouput
1 10 15 2 20 dollars 30 cents
2 2 50 4 10 dollars 0 cents