jiàn​jī'ér​zuò

to act according to circumstances