A, B = input().split() if not A.isdigit(): A = 3487 if not B.isdigit(): B = 8124 print(int(A)+int(B))