num = int(input())
print("0x" + hex(num)[2:])