#include <bits/stdc++.h>
using namespace std;
template <typename T>
T nextInt() {
  T x = 0, p = 1;
  char ch;
  do {
    ch = getchar();
  } while (ch <= ' ');
  if (ch == '-') {
    p = -1;
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9') {
    x = x * 10 + (ch - '0');
    ch = getchar();
  }
  return x * p;
}
const int maxN = (int)1e6 + 10;
const int INF = (int)1e9;
const int mod = (int)1e9 + 7;
const long long LLINF = (long long)1e18;
const long double pi = acos(-1.0);
vector<pair<int, int> > idx[maxN];
int a[maxN];
int main() {
  int n;
  n = nextInt<int>();
  vector<int> res(2 * n);
  int l = 0, r = n - 1;
  int i = 1;
  for (; l < r; i += 2) {
    res[l] = res[r] = i;
    ++l;
    --r;
  }
  l = n, r = 2 * n - 2;
  i = 2;
  for (; l < r; i += 2) {
    res[l] = res[r] = i;
    ++l;
    --r;
  }
  for (int i = 0; i < res.size(); ++i)
    if (res[i] == 0) res[i] = n;
  for (int x : res) cout << x << ' ';
  return 0;
}
