Round Down

AtCoder
IDabc196_b
Time2000ms
Memory256MB
Difficulty
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$ [samples]
Samples
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.
API Response (JSON)
{
  "problem": {
    "name": "Round Down",
    "description": {
      "content": "Given an integer or a decimal $X$, round it down to an integer and print the result.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc196_b"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Given an integer or a decimal $X$, round it down to an integer and print the result.\n\n## Constraints\n\n*   $0 \\le X \\le 10^{100}$\n*   $X$ is an integer or a decimal with at most $100$ digits after the ...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments