INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I INCREASE I PRINT X INCREASE G REPEAT I TIMES ( REPEAT G TIMES ( CLEAR M CLEAR Y INCREASE Y CLEAR G REPEAT X TIMES ( REPEAT M TIMES ( CLEAR M CLEAR Y CLEAR G INCREASE G ) REPEAT Y TIMES ( INCREASE M ) INCREASE Y ) REPEAT G TIMES ( # IF RUNNING REPEAT M TIMES ( # 3X + 1 REPEAT X TIMES ( INCREASE X INCREASE X ) INCREASE X PRINT X ) CLEAR B CLEAR M CLEAR Y INCREASE Y REPEAT X TIMES ( # FIND B = X / 2 REPEAT M TIMES ( CLEAR M CLEAR Y INCREASE B ) REPEAT Y TIMES ( INCREASE M ) INCREASE Y ) CLEAR X REPEAT B TIMES ( INCREASE X ) PRINT X ) ) )