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