#P264. 练43.2十进制转十六进制

练43.2十进制转十六进制

Description

Convert a decimal number to its hexadecimal representation, where numbers 1010 to 1515 are represented by uppercase letters AA, BB, CC, DD, EE, and FF respectively.

Input Format

A decimal number nn (1n1091≤n≤10^9).

Output Format

A string representing the corresponding hexadecimal number.

Sample

31
1F