#include <bits/stdc++.h>
const int maxn = 5e5 + 10;
const int inf = 0x3f3f3f3f;
const long long INF = 0x3f3f3f3f3f3f3f3f;
using namespace std;
int n;
int main() {
  scanf("%d", &n);
  printf("%d ", (n));
  for (int i = 1; i < n; i++)
    if (!((n - i) & 1)) printf("%d ", (i));
  printf("%d ", (n));
  for (int i = n - 1; i >= 1; i--)
    if (!((n - i) & 1)) printf("%d ", (i));
  for (int i = 1; i < n; i++)
    if ((n - i) & 1) printf("%d ", (i));
  for (int i = n - 1; i >= 1; i--)
    if ((n - i) & 1) printf("%d ", (i));
}
