#include <bits/stdc++.h>
#pragma warning(disable : 4996)
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 1; i < n; i += 2) {
    printf("%d ", i);
  }
  for (int i = (n - 1) / 2 * 2 + 1; i > 0; i -= 2) {
    printf("%d ", i);
  }
  for (int i = 2; i < n; i += 2) {
    printf("%d ", i);
  }
  for (int i = n / 2 * 2; i > 0; i -= 2) {
    printf("%d ", i);
  }
  printf("%d", n);
}
