Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/integer-pastga-yaxlitlash

Round down

Easy 1000 ms 64 MB 17%
Share

An integer $n$ is given. Find the largest number that does not exceed $n$ and is divisible by $100$. For example, $1234$ gives $1200$.

On the number line, the given number and the nearest hundred before it

Input

One integer $n$.

Output

One integer — the number rounded down.

Note

$0 \le n \le 10^{9}$

Examples

Input #1
1234
Output #1
1200
Input #2
99
Output #2
0

Sign in to submit a solution

Signing up is free and takes a minute.