siedzieć na dwóch stołkach

Etymology
lit. 'to sit on two stools'.

Verb

 * 1)  to work two jobs or positions
 * 2)  to play both sides against the middle