#include using namespace std; int main() { int n; cin >> n; if(n==1) cout << "1" << endl; if(n==2) cout << "2020" << endl; if(n==3) cout << "321" << endl; if(n==4) cout << "4321" << endl; if(n==5) cout << "54321" << endl; if(n==6) cout << "654321" << endl; if(n==7) cout << "7654321" << endl; if(n==8) cout << "87654321" << endl; if(n==9) cout << "987654321" << endl; if(n==10) cout << "9876543210" << endl; return 0; }