import re A,B = input().split(" ") result = re.sub(r'\d', '',A) assert(0==len(result)) print(int(A)+int(B))