A positive integer is written in binary. Convert it to octal by using the following method.
0 characters to the front until the length of the binary string is a multiple of 3.Given the binary number, print its octal representation.
| Binary | Octal |
|---|---|
| 000 | 0 |
| 001 | 1 |
| 010 | 2 |
| 011 | 3 |
| 100 | 4 |
| 101 | 5 |
| 110 | 6 |
| 111 | 7 |
The first line contains a binary number. Its length is between 1 and 100, inclusive, and its first character is 1.
Print the converted octal number on one line.