lín​jī​yìng​biàn

to adapt to circumstances; resourceful