AtCoder Beginner Contest 196
B
Round Down
AtCoder
⌀ 0
原题
← AC →
翻译中…

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).

翻译中…

样例

Input #1
5.90
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.
Input #2
0
Output #2
0
There may be no decimal point in $X$.
Input #3
84939825309432908832902189.9092309409809091329
Output #3
84939825309432908832902189
Take care when handling large numbers.
题目信息
题号
abc196_b
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。