Skip to main content
LIVE CONTEST: Round #7 · Begin Marathon is live now! …

~/algor $ cat problems/begin/fuel-cost-of-a-trip

Fuel cost of a trip

Author Iqbolshoh Ilhomjonov 3 @iqbolshoh 650 problems
Easy 1000 ms 64 MB 10%
Share

A car uses litres of petrol per km, and litre of petrol costs soums. Find the cost (in soums) of the petrol needed for a trip of km:

A road of length s; every 100 units of road use q litres of petrol, one litre costs p; the total cost C is to be found

Input

One line with three positive integers: , and .

Output

One number — , with exactly 2 digits after the decimal point (for example, 25511.50).

Note



Examples

Input #1
250 8 12000
Output #1
240000.00
Input #2
37 7 9850
Output #2
25511.50

Sign in to submit a solution

Signing up is free and takes a minute.