chí​liǎng​duān

to sit on the fence / to have one's feet in two camps