import java.util.*; import java.lang.*; import java.io.*; public class Main { public static void main (String[] args) throws java.lang.Exception { // your code goes here // 入力 Scanner sc = new Scanner(System.in); int N = sc.nextInt(); // 算出 int start = 0; int end = 0; if(N % 2 == 0){ start = N / 2; end = N - 1; }else{ start = N / 2 + 1; end = N; } // 出力 for(int i = start; i <= end; i++){ System.out.print(i + " "); } System.out.println(""); } }