#include "bits/stdc++.h" using namespace std; int main() { int N; cin >> N; for (int j= N; j > 0; j--) { string s; for (int i = 0; i < j; i++) { s += to_string(N); } cout << s << endl; } }