A. Modulo
time limit per test
1 second
memory limit per test
512 megabytes
input
standard input
output
standard output

As a simple and boring task, you are asked to do modulo on floating numbers.

Given a, b, please calculate .

Notice that the modulo supported by some programming languages like C++, Java or Python might be not enough. You may have to implement a special version for this task.

Input

Two space-separated floating numbers a, b (0 < a, b ≤ 109). Exactly 9 digits are kept after the decimal point.

Output

Print the answer with absolute or relative error not greater than 10 - 15.

Examples
Input
3.000000000 2.000000000
Output
1.000000000
Input
0.400000000 0.200000000
Output
0