Correct

随遇而安

/ suí yù ér ān /
Strokes

Definition

at home wherever one is (idiom); ready to adapt/flexible/to accept circumstances with good will

Example

Definition

adapt/accommodate oneself to different circumstances; fit in anywhere; feel at home wherever one is