Hide

Problem A
Decimal deletion

After solving one too many optimisation problems, Joshua has developed a phobia for floating point numbers. Help him out by rounding some floating point numbers into normal, safe integers.

Input

The first and only line of input will be a decimal number $0\leq N \leq 10000$.

Output

Print the integer closest to the given input. If the given input is exactly between two integers, any of them will be accepted.

Sample Input 1 Sample Output 1
3.14
3
Sample Input 2 Sample Output 2
2.71
3
Sample Input 3 Sample Output 3
2.5
3
Sample Input 4 Sample Output 4
42
42

Please log in to submit a solution to this problem

Log in