B - Round Down Editorial /

Time Limit: 2 sec / Memory Limit: 1024 MB

配点 : 200

問題文

整数または小数 X が与えられるので、小数点以下を切り捨てて整数で出力してください。

制約

  • 0 \le X \le 10^{100}
  • X は整数、または小数点以下が 100 桁以下の小数であり、先頭に余計な 0 は付かない

入力

入力は以下の形式で標準入力から与えられる。

X

出力

X を、小数点以下を切り捨てて整数の形式で出力せよ。


入力例 1

5.90

出力例 1

5

5.90 の小数点以下を切り捨てた 5 を整数で出力します。整数の形式でない 5.0 などは不正解になります。


入力例 2

0

出力例 2

0

X は小数点を含まないかもしれません。


入力例 3

84939825309432908832902189.9092309409809091329

出力例 3

84939825309432908832902189

大きい数の扱いに注意してください。

Score : 200 points

Problem Statement

Given an integer or a decimal X, round it down to an integer and print the result.

Constraints

  • 0 \le X \le 10^{100}
  • X is an integer or a decimal with at most 100 digits after the decimal point, without unnecessary leading zeros.

Input

Input is given from Standard Input in the following format:

X

Output

Round X down to an integer and print the result (as an integer).


Sample Input 1

5.90

Sample Output 1

5

We round down 5.90 to an integer, 5, and print it as an integer. Non-integer outputs such as 5.0 will be judged as incorrect.


Sample Input 2

0

Sample Output 2

0

There may be no decimal point in X.


Sample Input 3

84939825309432908832902189.9092309409809091329

Sample Output 3

84939825309432908832902189

Take care when handling large numbers.