#include <bits/stdc++.h>
using namespace std;
const long long MOD1 = 1000000007;
const long long MOD2 = 998244353;
const int N = 1e6 + 6;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n;
  cin >> n;
  int a[N] = {0};
  int l = 1, r = n + 1;
  for (int i = 1; i < n; i++) {
    if (i & 1)
      a[l] = i, a[l + n - i] = i, l++;
    else
      a[r] = i, a[r + n - i] = i, r++;
  }
  for (int i = 1; i <= 2 * n; i++) {
    cout << (a[i] ? a[i] : n) << " ";
  }
}
