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