# coding:UTF-8 A, B = map(int, input().split(" ")) S= str(input()) N = A + B print(str(N) +" "+ S)