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