#include using namespace std; using ll = long long; int n; int main() { cin >> n; for (int i = 0; i < n; i++) { for (int j = 1; j < n - i; j++) { cout << n; } cout << n << endl; } }