A = int(input()) B = int(input()) S = input() print(str(A+B) + " " + S)