eolymp
bolt
Try our new interface for solving problems
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 number104.

Output

Print the number a in hexadecimal notation, using symbols '0', …, '9' and 'A', …, 'F'.

Time limit 1 second
Memory limit 128 MiB
Input example #1
1
Output example #1
1
Input example #2
10
Output example #2
2