Language:
Free Online Dictionary|3Dict

知機識變

Source : CEDICT

to grasp the situation and adjust oneself to its changes (idiom)