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