num = list(map(int, input().split())) name = input() print(str(num[0] + num[1]) + " " + name)