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