#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int x = 1;
  int mx = 1;
  if (n % 2) {
    printf("%d ", n);
  }
  while (x <= n) {
    mx = x;
    printf("%d ", x);
    x += 2;
  }
  if (n % 2) mx -= 2;
  x = mx;
  while (x >= 1) {
    printf("%d ", x);
    x -= 2;
  }
  if (n % 2 == 0) {
    printf("%d ", n);
  }
  x = 2;
  while (x <= n) {
    mx = x;
    printf("%d ", x);
    x += 2;
  }
  if (n % 2 == 0) mx -= 2;
  x = mx;
  while (x >= 1) {
    printf("%d ", x);
    x -= 2;
  }
  return 0;
}
