#include <bits/stdc++.h>
using namespace std;
const int MAX_N = 100005;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  vector<int> ans(2 * n);
  if (n % 2 == 0) {
    for (int i = 0; i < (int)n - 1; ++i) {
      if (i % 2 == 0) {
        ans[i / 2] = ans[n - 1 - i / 2] = i + 1;
      } else {
        ans[n + 1 + (i - 1) / 2] = ans[2 * n - 1 - (i - 1) / 2] = i + 1;
      }
    }
    ans[n] = ans[3 * n / 2] = n;
  } else {
    for (int i = 0; i < (int)n - 1; ++i) {
      if (i % 2 == 0) {
        ans[i / 2] = ans[n - 1 - i / 2] = i + 1;
      } else {
        ans[n + 1 + (i - 1) / 2] = ans[2 * n - 1 - (i - 1) / 2] = i + 1;
      }
    }
    ans[n] = ans[(n - 1) / 2] = n;
  }
  for (int i = 0; i < (int)2 * n; ++i) {
    cout << ans[i] << " ";
  }
  cout << endl;
  return 0;
}
