cho.sh
Notes
Loading...

Octal to Binary

Time limit

1s

Memory limit

256 MB

Problem

Given an octal number, write a program that converts it to binary.

Input

The first line contains an octal number. The length of the given number is at most 333,334 digits.

Output

Print the given number converted to binary. Except when the number is 0, the output must start with 1.