#include <bits/stdc++.h>
using namespace std;
int N;
int main() {
  while (~scanf("%d", &N)) {
    vector<int> ans(2 * N);
    for (int i = 0; i < (int)N / 2; ++i) {
      ans[i] = 2 * i + 1;
      ans[i + N - ans[i]] = ans[i];
    }
    for (int i = 0; i < (int)(N - 1) / 2; ++i) {
      ans[N + 1 + i] = 2 * (i + 1);
      ans[N + 1 + i + (N - ans[N + 1 + i])] = 2 * (i + 1);
    }
    for (int i = 0; i < (int)2 * N; ++i) {
      if (!ans[i]) ans[i] = N;
      printf("%d%c", ans[i], (i == 2 * N - 1) ? '\n' : ' ');
    }
  }
}
