#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
const long long LINF = 0x3f3f3f3f3f3f3f3fll;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int n;
  cin >> n;
  vector<int> a(2 * n);
  for (int i = 0; i < n; i++)
    if (n % 2 == 0 or i != n / 2) {
      int d = min(i, n - i - 1);
      a[i] = 2 * d + 1;
    }
  for (int i = n; i < 2 * n - 1; i++)
    if (n % 2 == 1 or i - n != n / 2 - 1) {
      int d = min(i - n + 1, 2 * n - i - 1);
      a[i] = 2 * d;
    }
  for (int i = 0; i < 2 * n; i++)
    if (a[i] == 0) {
      a[i] = n;
    }
  for (int i : a) cout << i << ' ';
  cout << '\n';
  return 0;
}
