#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  vector<int> v(2 * n);
  int x = 1;
  for (int i = 0; i < n / 2; ++i) {
    v[i] = x, v[n - i - 1] = x;
    x += 2;
  }
  x = 2;
  for (int i = 0; i < n / 2; ++i) {
    v[i + n] = x, v[2 * n - i - 2] = x;
    x += 2;
  }
  for (int i = 0; i < 2 * n; ++i)
    if (!v[i]) v[i] = n;
  for (int i = 0; i < 2 * n; ++i) printf("%d ", v[i]);
  return 0;
}
