#include <bits/stdc++.h>
using namespace std;
void debug(vector<long long> v) {
  for (int i = 0; i < v.size(); i++) cout << v[i] << " ";
  cout << "\n";
}
long long arr[1000010];
int main() {
  long long t, z, i, j, k, n, m, p, q, r, s, ans;
  scanf("%lld", &t);
  if (t % 2) {
    arr[(t + 1) / 2] = t;
    arr[2 * t] = t;
    for (i = 1; i < (t + 1) / 2; i++) {
      arr[i] = i * 2 - 1;
      p = i * 2 - 1;
      arr[t - p + i] = p;
    }
    for (i = t + 1; i < (t + (t + 1) / 2); i++) {
      p = (i - t) * 2;
      arr[i] = p;
      arr[t - p + i] = p;
    }
  } else {
    arr[2 * t] = t;
    arr[t + t / 2] = t;
    for (i = 1; i <= t / 2; i++) {
      p = i * 2 - 1;
      arr[i] = p;
      arr[t - p + i] = p;
    }
    for (i = t + 1; i < t + t / 2; i++) {
      p = (i - t) * 2;
      arr[i] = p;
      arr[t - p + i] = p;
    }
  }
  for (i = 1; i <= 2 * t; i++) printf("%lld ", arr[i]);
  cout << endl;
  return 0;
}
