#include <bits/stdc++.h>
using namespace std;
int n;
int main() {
  scanf("%d", &n);
  int fst = 1, scnd = 2;
  if (n % 2 != 0) swap(fst, scnd);
  for (int i = 1; i < n; i += 2) printf("%d ", i);
  if (n % 2 != 0) printf("%d ", n);
  for (int i = n - fst; i >= 1; i -= 2) printf("%d ", i);
  if (n % 2 == 0) printf("%d ", n);
  for (int i = 2; i < n; i += 2) printf("%d ", i);
  if (n % 2 == 0) printf("%d ", n);
  for (int i = n - scnd; i >= 2; i -= 2) printf("%d ", i);
  if (n % 2 != 0) printf("%d ", n);
  return 0;
}
