P24220 [AtCoder] Round decimals
入门
题目描述

Problem Statement

You are given a real number X, which is representable using at most three decimal digits, with three decimal digits.
Round X to the nearest integer and print the result.

Input

Input is given from Standard Input in the following format:
X

Output

Print the integer resulting from rounding X to the nearest integer.

Constraints

  • $0 \leq X < 100$
  • X is representable using at most three decimal digits.
  • X has three decimal digits in input.

Sample Input 1

3.456

Sample Output 1

3

The digit in the first decimal place of 3.456 is 4, so we should round it down to 3.

Sample Input 2

99.500

Sample Output 2

100

Sample Input 3

0.000

Sample Output 3

0

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
3.456
样例输出
3