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

~/algor $ cat problems/nollarsiz-son

Number without zeros

Easy 1000 ms 64 MB 31%
Share

A positive integer $n$ is given. Delete all digits $0$ from its notation; the order of the other digits does not change. Print the resulting number.

The digits of the number; the zeros are deleted and the rest form a new number

Input

One positive integer $n$.

Output

One positive integer — the number without zeros.

Note

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

Examples

Input #1
1020304
Output #1
1234
Input #2
5000
Output #2
5

Sign in to submit a solution

Signing up is free and takes a minute.