n = int(input())
print(hex(n))