Problems
Numeral system - 1
Numeral system - 1
The number a is given in binary notation. Print the number a in hexadecimal notation without leading zeros.
Input
The number a in binary notation, 0 < length of a number ≤ 104
.
Output
Print the number a in hexadecimal notation, using symbols '0', …, '9' and 'A', …, 'F'.
Input example #1
1
Output example #1
1
Input example #2
10
Output example #2
2