input_1 = list(map(int, input().split())) input_2 = input() s = 0 for i in input_1: s += i print(str(s) + ' ' + input_2)