PRINT X REPEAT X TIMES ( CLEAR A REPEAT X TIMES ( INCREASE A ) CLEAR X REPEAT A TIMES ( INCREASE X ) PRINT X )