jiàn​fēng​shǐ​fān

to adapt to the situation