A = int(input()) B = int(input()) S = input() total = A + B word = S print(total, word)