atcoder#ABC271A. [ABC271A] 484558
[ABC271A] 484558
Score : points
Problem Statement
In the hexadecimal system, where the digits ABCDEF corresponding to , and are used in addition to 0123456789, every integer between and is represented as a - or -digit numeral.
For example, and are represented as -digit hexadecimal numerals 0 and C; and are represented as -digit hexadecimals 63 and FF.
Given an integer between and , convert it to an exactly two-digit hexadecimal numeral, prepending leading 0s if necessary.
Notes
The judge is case-sensitive. Specifically, you cannot use abcdef as hexadecimal digits instead of ABCDEF.
Constraints
- is an integer.
Input
The input is given from Standard Input in the following format:
Output
Print the answer.
99
63
is represented as 63 in hexadecimal.
12
0C
is represented as C in hexadecimal.
Since we ask you to convert it to a two-digit hexadecimal numeral, the answer is 0C, where 0 is prepended to C.
0
00
255
FF