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