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