Solves 14; or would, if Python had TCO
Solution for Problem 14

    Weird that the Stalin compiler gives the wrong answer.