#include using namespace std; int main() { int n; cin >> n; if (n == 1) { cout << 1 << endl; return 0; } string ans; for (int i = 1; i <= n; ++i) { ans += (char) ('0' + (n - i)); } for (int i = 0; i < n; i++) { cout << ans; } cout << endl; return 0; }