jiǎo​tà​liǎng​tiáo​chuán

to have one's feet in two boats