*** Adapted from a problem which appeared at the 2012 Spanish Mathematical Olympiad.
blackjack
flooble's webmaster puzzle