PRINT X REPEAT 1000 TIMES ( CLEAR CHECK REPEAT X TIMES (INCREASE CHECK) CLEAR ONE INCREASE ONE CLEAR STOP REPEAT CHECK TIMES (INCREASE STOP) CLEAR TEMP REPEAT X TIMES (INCREASE TEMP) CLEAR NEXT REPEAT TEMP TIMES ( INCREASE NEXT INCREASE NEXT INCREASE NEXT ) INCREASE NEXT CLEAR HALF REPEAT TEMP TIMES (INCREASE HALF, INCREASE HALF) CLEAR X REPEAT NEXT TIMES (INCREASE X) REPEAT HALF TIMES (INCR