Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/benzin-narxi

Fuel cost of a trip

Easy 1000 ms 64 MB 10%
Share

A car uses $q$ litres of petrol per $100$ km, and $1$ litre of petrol costs $p$ soums. Find the cost $C$ (in soums) of the petrol for $s$ km:

$$C = \frac{s * q}{100} * p$$

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: $s$, $q$ and $p$.

Output

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

Note

$1 \le s \le 10^{4}$
$1 \le q \le 30$
$1 \le p \le 2 * 10^{4}$

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.