#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int N; cin >> N; if (N == 0) { cout << 0 << '\n'; } for (int i = N; i > 0; i--) { for (int j = 0; j < N; j++) { cout << i; } } cout << '\n'; return 0; }