first = input() split_first = first.split() a = int(split_first[0]) b = int(split_first[1]) print(str(a + b) +' ' + split_first[2])