# Write a program to convert 1008 to hexadecimal.

import math

# declaring the variable to pass the decimal value

dec_number = 1008

hex_number = hex(dec_number)
print(hex_number)

# converting back to the hexadecimal number which has the base of 16
print(int(hex_number,16))

