A solution to a programming riddle of the Budapest Coderetreat Group