A pie in the canteen costs a ruble and b kopecks. Determine how many rubles and kopecks are needed to buy n pies.
Three numbers: a, b, n.
Print two numbers: rubles and kopecks.
Input #1
10 15 2
Output #1
20 30
Input #2
2 50 4
Output #2
10 0
Sign in to submit your solution and save your progress.