#include <bits/stdc++.h>
using namespace std;
int a[1000010];
int main() {
  ios_base ::sync_with_stdio(0);
  cin.tie(nullptr);
  int n;
  cin >> n;
  int now;
  int l, r;
  l = 1, r = n;
  now = 1;
  while (l <= r) {
    a[l++] = a[r--] = now;
    now += 2;
  }
  now = 2;
  l = n + 1, r = n + (n - 1);
  while (l <= r) {
    a[l++] = a[r--] = now;
    now += 2;
  }
  for (int i = 1; i <= 2 * n; i++) {
    if (a[i] == 0) a[i] = n;
  }
  for (int i = 1; i <= 2 * n; i++) {
    cout << a[i] << " ";
  }
  cout << endl;
  cout.flush();
  return 0;
}
