#include #include #include #include #include #define all(x) x.begin(),x.end() #define pb push_back #define ll long long using namespace std; int main() { int n; int h=0; cin >> n; if (n == 1) cout << 1 << endl; else if (n == 10) { for (int i = 1; i <= 10; i++) { cout << 1234567890; } cout << endl; } else { for (int i = 1; i <= n; i++) { h += i; if (i != n) h *= 10; else break; } for (int i = 1; i <= n; i++) { cout << h; } cout << endl; } return 0; }