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