If first digit is 0 no need to print it
if ( a [ 0 ] != 0 ) { for ( int i = 0 ; i <= level ; i ++ ) Console . Write ( a [ i ] ) ; for ( int i = level + 1 ; i < m ; i ++ ) Console . Write ( "9" ) ; } else { for ( int i = 1 ; i < level ; i ++ ) Console . Write ( a [ i ] ) ; for ( int i = level + 1 ; i < m ; i ++ ) Console . Write ( "9" ) ; } }