INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T INCREASE T # T: iterations # Q: X > 1 # O: X is odd # E: X is even # Y: new X value PRINT X REPEAT T TIMES ( # ============================================= # CLEAR A INCREASE A CLEAR B CLEAR Q REPEAT X TIMES ( REPEAT B TIMES ( CLEAR A CLEAR B INCREASE Q ) REPEAT A TIMES ( INCREASE B ) ) # ============================================= # REPEAT Q TIMES ( # ============================================= # CLEAR O REPEAT X TIMES ( CLEAR A INCREASE A REPEAT O TIMES ( CLEAR A CLEAR O ) REPEAT A TIMES ( INCREASE O ) ) CLEAR E INCREASE E REPEAT O TIMES ( CLEAR E ) # ============================================= # # ============================================= # REPEAT E TIMES ( CLEAR Y CLEAR B REPEAT X TIMES ( CLEAR A INCREASE A REPEAT B TIMES ( CLEAR A CLEAR B INCREASE Y ) REPEAT A TIMES ( INCREASE B ) ) ) # ============================================= # # ============================================= # REPEAT O TIMES ( CLEAR Y REPEAT X TIMES ( INCREASE Y INCREASE Y INCREASE Y ) INCREASE Y ) # ============================================= # # ============================================= # CLEAR X REPEAT Y TIMES ( INCREASE X ) # ============================================= # PRINT X ) )