c = input()
print(ord(c))