import re A,B = input().split(" ") # resultA= re.sub(r'[^0-9]', '',A) # resultB= re.sub(r'[^0-9]', '',B) print(int(float(A)+float(B)))