suí​gāo​jiù​dī

to adapt to circumstances