xiàng​tǐ​cái​yī

to act according to circumstances