input_str=str(input())
for char in input_str:
    print(ord(char))