#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  int arr[2 * n + 3];
  bool chk[2 * n + 3];
  memset(chk, false, sizeof(chk));
  int oi = 1, oj = n, ei = n + 1, ej = 2 * n - 1;
  for (int i = 1; i < n; i++) {
    if (i % 2 != 0) {
      arr[oi] = arr[oj] = i;
      chk[oi] = chk[oj] = true;
      oi++;
      oj--;
    } else {
      arr[ei] = arr[ej] = i;
      chk[ei] = chk[ej] = true;
      ei++;
      ej--;
    }
  }
  for (int i = 1; i <= 2 * n; i++) {
    if (chk[i] == false) {
      arr[i] = n;
      chk[i] = true;
    }
  }
  for (int i = 1; i <= 2 * n; i++) {
    cout << arr[i] << ' ';
  }
  return 0;
}
