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