chèn​tǐ​cái​yī

to tailor actions to circumstances