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

~/algor $ cat problems/while-bosh-raqamni-olib-tashlash

Removing the first digit

Easy 1000 ms 64 MB 31%
Share

A positive integer $n$ with at least two digits is given. Find the number obtained by removing the first (leftmost) digit from its notation. Leading zeros of the result are not written (for example, $7046 \to 46$, $9000 \to 0$).

Dropping the most significant digit of the number

Input

One positive integer $n$.

Output

One integer — the number without its first digit.

Note

$10 \le n \lt 10^{18}$

Examples

Input #1
7046
Output #1
46
Input #2
9000
Output #2
0

Sign in to submit a solution

Signing up is free and takes a minute.