ab = input().split() s = input() a = int(ab[0]) b = int(ab[1]) c = a + b print(str(c) + " " + s)