Correct

见风使舵

/ jiàn fēng shǐ duò /
Strokes

Definition

lit. see the wind and set the helm (idiom); fig. to act pragmatically/to be flexible and take advantage of the situation

Example

Definition

trim one's sails (to the wind)―be a weathercock