#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e6 + 7;
int a[maxn];
int d[maxn];
int main() {
  int n;
  scanf("%d", &n);
  int tot = 1;
  for (int i = 1; i <= n; i += 2) a[tot++] = i;
  int p = n;
  if (p % 2 == 0)
    p--;
  else
    p -= 2;
  for (int i = p; i >= 1; i -= 2) {
    a[tot++] = i;
  }
  for (int i = 2; i <= n; i += 2) a[tot++] = i;
  p = n;
  if (p % 2 == 1)
    p--;
  else
    p -= 2;
  for (int i = p; i >= 1; i -= 2) a[tot++] = i;
  a[tot++] = n;
  int Ans = 0;
  for (int i = 1; i <= 2 * n; i++) cout << a[i] << " ";
  cout << endl;
}
