Chinese words · Chengyu

随机应变

suíjī-yìngbiànTraditional 隨機應變

to adapt to circumstances; to play it by ear

Meanings from our own dictionary. Chengyu from the Xinhua idiom list, the most common first.