A, B = map(int, input().split()) S = input() print("{} {}".format(A + B, S))