num1, num2 = input().split(' ') result = int(num1) + int(num2) resultstr = str(result) if resultstr[-2] == '0': print(resultstr[-1:]) else: print(resultstr[-2:])