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