计将安出 (Where Shall the Plan Come From)

Li Yiji, a man of Chenliu Commandery at the end of the Qin Dynasty, was a passionate scholar with vast knowledge and a wild, unrestrained nature, earning him the nickname "the Mad Scholar."

That year, Liu Bang, the future founder of the Han Dynasty, was leading his army to attack Chenliu when the scholar Li Yiji sought an audience. Liu Bang received him while sitting on the edge of his bed washing his feet. Without kneeling, Li Yiji merely bowed and asked, "Do you intend to help the tyrannical Qin attack the other lords, or will you lead the lords to attack Qin?" Liu Bang flew into a rage and shouted, "You useless pedant! The whole world suffers under Qin's tyranny—how dare you suggest I'd help them?" Li Yiji calmly replied, "If you truly mean to raise a righteous army against Qin, then this is no way to treat an elder." Immediately, Liu Bang stopped washing, stood up, straightened his robes, and invited Li Yiji to sit in the seat of honor.

After Li Yiji took his seat, he spoke at length to Pei Gong about how the six kingdoms had once countered the Qin state, and Liu Bang grew more delighted with each word, finally asking, "What strategy do you propose?" Li Yiji replied, "Chenliu is a vital crossroads, well-connected in all directions, with vast grain stores. I am on excellent terms with the county magistrate there. Send me to persuade him to surrender to you. If he refuses, you can attack, and I will serve as your inside man."

Liu Bang followed the advice of Li Yiji and captured Chenliu.

Later, the idiom "Ji Jiang An Chu" came to refer to what kind of strategy will be devised.

Source: *Records of the Grand Historian*, "Biographies of Li Yiji and Lu Jia"

Meaning of the Idiom: Later, the Chinese idiom "计将安出" came to describe what kind of strategy will be devised.