a, b = map(int, input().split()) c = input() print(a+b, c)