#include #include #include #include #include #include #include #include #include #include #include #include #include #define FOR(i, a, b) for(long long int i=(a);i<=(b);i++) #define RFOR(i, a, b) for(long long int i=(a);i>=(b);i--) #define MOD 1000000007 #define INF 1000000000 //2000000000 #define LLINF 1000000000000000000 //9000000000000000000 #define PI 3.14159265358979 using namespace std; typedef long long int ll; typedef pair< int, int> P; int main(void) { int n; cin >> n; FOR(i, 1, n) { FOR(t, 1, n - i + 1) { cout << n; } cout << endl; } return 0; }