Table and Tumblers

This problem originated in Russia, according to various sources, but no one’s sure precisely where:

Before you is a square table that can rotate freely. In each corner is a deep well, at the bottom of which is a tumbler that’s either upright or inverted. You can’t see the tumblers, but you can reach into the wells to feel their positions.

Periodically the table rotates and stops at random. After each stop, you can feel two of the tumblers and turn over either, both, or neither. If all four of the tumblers are in the same state — all upright or all inverted — then a bell sounds. Otherwise the table rotates again and you make another “move.”

Can you guarantee to ring the bell in a finite number of moves? If so, how?

Click for Answer