#include <stdio.h> int main( void ) { int n; if( scanf("%d",&n)!=1 || n<=0 || n>=10 ) return 1; for( int i=0; i!=n; ++i ) printf( "%*.*s\n", n, i+1, "*********" ); }