#include using namespace std; int main(){ int n, i, t; cin >> n; for( i = n ; 0 <= i ; i = i - 1 ){ t = i; while( t > 0 ){ cout << n; t -= 1; } cout << endl; } return 0; }