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