src = input() src = src.split() A = int(src[0]) B = int(src[1]) S = input() print(A + B, S)