#include using namespace std; #define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); typedef long long ll; // Welcome to my source code! int main() { int n; cin >> n; int i = n, j = 1; if (n == 10) j++; for (; i >= j; i--) cout << i; cout << endl; }