#include #define all(x) (x).begin(), (x).end() typedef long long ll; #define MOD 1000000007 using namespace std; int main() { int n; cin >> n; if(n % 2 == 0) { for(int i = n / 2 + 1; i <= n; i++) { cout << i << " "; } cout << endl; } else { cout << 1 << endl; } }