A,B = map(int, input().split()) S = input() print(A+B + " " + str(S))