A = int(input()) B = int(input()) S = input() N = A+B print( str(N) + ' ' + S)