For an explanation, refer to the solution submitted by Preneeth in this location.
blackjack
flooble's webmaster puzzle