There are 100 coins scattered in a dark room. 90 have heads facing up and 10 are facing tails up. You cannot tell which coins are which. How do you sort the coins into two piles that contain the same number of tails up coins?
The piles don't need to be the same size, so make a pile of 10 coins and a pile of 90 coins, flip all of the ten coins and it is guaranteed that the piles have the same number of tails.