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