#include <bits/stdc++.h>
using namespace std;
const int INF = 1 << 30;
const long long LLINF = 1LL << 62;
const int mod = 1000000007;
int n, i;
int main() {
  scanf("%d", &n);
  if (n == 1)
    printf("1 1");
  else if (n == 2)
    printf("1 1 2 2");
  else {
    if (n % 2 == 1) {
      for (i = 2; i < n; i += 2) printf("%d ", i);
      for (i = n - 1; i >= 1; i -= 2) printf("%d ", i);
      for (i = 1; i < n; i += 2) printf("%d ", i);
      printf("%d ", n);
      for (i = n - 2; i >= 1; i -= 2) printf("%d ", i);
      printf("%d", n);
    } else {
      for (i = 1; i < n; i += 2) printf("%d ", i);
      for (i = n - 1; i >= 1; i -= 2) printf("%d ", i);
      for (i = 2; i < n; i += 2) printf("%d ", i);
      printf("%d ", n);
      for (i = n - 2; i >= 1; i -= 2) printf("%d ", i);
      printf("%d", n);
    }
  }
  return 0;
}
