#include #define rep(i,n) for(int i=0;i ; const int INF = 1e9; const int MOD = 1000000007; int main(){ int n; cin >> n; string s; for(int i=9;i>=9-n+1;i--){ rep(j,n) s += '0' + i; } cout << s << endl; return 0; }