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