#include <bits/stdc++.h>
using namespace std;
const int inf = 0x3f3f3f3f;
const int maxn = 1e7 + 500;
const int End = 1e7;
int a[maxn];
int n;
int main() {
  memset(a, 0, sizeof(a));
  scanf("%d", &n);
  int cnt = 1;
  for (int i = 1; i < n; i += 2) {
    a[cnt] = a[cnt + n - i] = i;
    cnt++;
  }
  cnt = n + 1;
  for (int i = 2; i < n; i += 2) {
    a[cnt] = a[cnt + n - i] = i;
    cnt++;
  }
  for (int i = 1; i <= 2 * n; i++) {
    if (a[i] == 0) a[i] = n;
  }
  for (int i = 1; i <= 2 * n; i++) {
    if (a[i] == 0)
      printf("%d", n);
    else
      printf("%d", a[i]);
    if (i == 2 * n)
      printf("\n");
    else
      printf(" ");
  }
  return 0;
}
