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