礼尚往来 Propriety values going and coming. The line comes from the Book of Rites: “The highest value is virtue. Next comes giving and repaying. Propriety values going and coming. To give and receive nothing back is against propriety. To receive and give nothing back is also against propriety.”
Today the phrase is used for gifts and favors, and also for answering a person in kind.