For an explanation, refer to the solution submitted by Charlie in the comments.
blackjack
flooble's webmaster puzzle