#int(input()) #map(int, input().split()) #list(map(int, input().split())) A = int(input()) B = int(input()) print(A + B)