Language:
Free Online Dictionary|3Dict

隨方就圓

Source : CEDICT

to adapt oneself to circumstances (idiom)