#include <bits/stdc++.h> using namespace std; int main(){ int n,i=1; cin>>n; while(i<=n){ if(i%2==0) cout<<i-1; else cout<<i+1<<" "; i++; } return 0; }