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