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