a, b = input().split() str1 = input() a = int(a) b = int(b) print(str(a + b) + ' ' + str1)