#include using namespace std; using ll = long long; using Graph = vector>; #define rep(i,m,n) for(int (i)=(m);(i)<(n);++(i)) #define rREP(i,m,n) for(int (i)=(n)-1;(i)>=(m);--(i)) #define all(x) (x).begin(),(x).end() #define out(y,x,h,w) (y)<0||(x)<0||(y)>=(h)||(x)>=(w) constexpr int INF = 1000000001; constexpr ll mod = 1000000007; constexpr double PI = 3.1415926535897932; templateinline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; } templateinline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; } inline void init() { cin.tie(nullptr); cout.tie(nullptr); ios::sync_with_stdio(false); cout << fixed << setprecision(15); } int main() { init(); int N; cin >> N; rep(i, N / 2 + 1, N + 1) { cout << i; if (i != N)cout << " "; else cout << "\n"; } return 0; }