x = input().split() y = int(x[0]) + int(x[1]) z = input() print(y,z)