隨機應變

Idiom

 * 1) to adjust to changing circumstance; to act according to circumstances