a,b = input().split()
a,b = int(a),int(b)
c = str(a+b)[-2:]
if  c[-2] == "0":
    print(c[-1:])
else:
    print(c[-2:])