#include using namespace std; #define REP(i,n) for(int i=0; i<(int)(n); i++) int main() { ios_base::sync_with_stdio(0); cin.tie(0); int n; cin >> n; if (n == 1) cout << 1 << endl; else { for (int i = n-1; i >= 0; i--) { for (int j = 0; j < n; j++) cout << i; } cout << endl; } return 0; }