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