#PCBNAM0000004. Số nguyên có số 0 đầu (Integer with Leading Zeroes)
Số nguyên có số 0 đầu (Integer with Leading Zeroes)
Integer with Leading Zeroes
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
A non-negative integer is represented by a digit string , possibly with multiple leading zeroes. Print in its ordinary decimal representation without unnecessary leading zeroes. If , print exactly 0.
Input
One line containing the digit string representing a non-negative integer.
Output
Print the value in its canonical decimal representation.
Subtasks
- Subtask 1 — 100 points: ; every character of is a digit from
0to9.
Examples
Input
00042
Output
42
Explanation
The five-character string 00042 represents integer . Its three leading zeroes do not change the numeric value. int("00042") yields , so the program prints 42.