s1 = input().split() s2 = input() print(int(s1[0]) + int(s1[1]) + ' ' + s2)