#include <bits/stdc++.h>
using namespace std;
const int N = 1e6 + 3;
int n, a[N];
set<int> s;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  cin >> n;
  for (int i = 1; i <= 2 * n; ++i) {
    a[i] = -1;
  }
  for (int i = 1, t = 1; i <= n; i += 2, ++t) {
    a[t] = i;
    a[n - t + 1] = i;
  }
  for (int i = 2, t = 1; i <= n; ++t, i += 2) {
    a[n + t] = i;
    a[2 * n - t] = i;
  }
  for (int i = 1; i <= 2 * n; ++i)
    if (a[i] == -1) a[i] = n;
  for (int i = 1; i <= n * 2; ++i) cout << a[i] << ' ';
  return 0;
}
