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