#include <bits/stdc++.h>
using namespace std;
const long long N = (long long)(1e6) + 322;
const long long INF = (long long)(1e9);
const long long mod = (long long)(1e9) + 7;
const double eps = 1e-9;
int n, a[N], l, r;
int main() {
  ios_base ::sync_with_stdio(false);
  cin.tie(0);
  cin >> n;
  l = 1, r = n + n;
  for (long long i = 1; i <= n - 1; ++i) {
    if (i & 1) {
      a[l] = i;
      a[l + (n - i)] = i;
      l++;
    } else {
      a[r] = i;
      a[r - (n - i)] = i;
      r--;
    }
  }
  for (long long i = 1; i <= n + n; ++i) {
    if (a[i] != 0)
      cout << a[i] << ' ';
    else
      cout << n << ' ';
  }
  return 0;
}
