N, M = map(int, input().split()) S = input() print(N + M, S)