A = int(input()) B = int(input()) S = input() result = A + B print(result, S)