numbers = list(map(int, input().split(' '))) s = input() print('%d %s' %(sum(numbers), s))