--- category: - Puzzles - Games from: http://rosettacode.org/wiki/24_game