#include <bits/stdc++.h>
using namespace std;
const int maxn = 1000000 + 5;
int num[maxn];
int main() {
  int n, i, j;
  while (~scanf("%d", &n)) {
    int tmp = 1;
    for (i = 1, j = n; i < j; i++, j--) {
      num[i] = num[j] = tmp;
      tmp += 2;
    }
    tmp = 2;
    for (i = n + 2, j = 2 * n; i < j; i++, j--) {
      num[i] = num[j] = tmp;
      tmp += 2;
    }
    num[n + 1] = n;
    if (n & 1) {
      num[(n + 1) / 2] = n;
    } else
      num[n / 2 * 3 + 1] = n;
    printf("%d", num[1]);
    for (int i = 2; i <= 2 * n; i++) {
      printf(" %d", num[i]);
    }
    printf("\n");
  }
  return 0;
}
