Simple Arithmetic

Time limit1sMemory limit1024 MB

Summary
Read three integers a, b, c and print a times b divided by c within an absolute error of 1e-6.
Level

Easy1 of 10

Topics
Math, Implementation
Solved
No attempts yet

Problem

You are given three integers a,b,ca, b, c (1≤a,b,c≤1091 \le a, b, c \le 10^9). Compute a⋅b/ca \cdot b / c with an absolute error of at most 10−610^{-6}.

Input

The first and only line contains the three integers a,b,ca, b, c separated by a single space.

Output

Output a single real number. It must differ from a⋅b/ca \cdot b / c by at most 10−610^{-6} in absolute value, that is, it must satisfy ∣x−a⋅b/c∣≤10−6|x - a \cdot b / c| \le 10^{-6}.

Examples4

  1. Example 1

    Input
    3 5 7
    
    Expected output
    2.142857142857142857
    
  2. Example 2

    Input
    9999 9876 1
    
    Expected output
    98750124
    
  3. Example 3

    Input
    123456789 987654321 1
    
    Expected output
    121932631112635269.000000000000000000
    
  4. Example 4

    Input
    123456789 987654321 7
    
    Expected output
    17418947301805038.428571428571428571