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