#include <bits/stdc++.h>
using namespace std;
const int INF = (-1u) / 2;
const long long int INF2 = (-1ull) / 2;
int a, b, i, d[1011000], j, k, n, m, timer = 0, l, r, x, y;
int c[1011000], cnt = 0, fl = 0, a2, a3 = -1000000, ans = 0;
int main() {
  ios_base::sync_with_stdio(0);
  cin >> n;
  j = 1;
  k = n + 1;
  a = 1;
  while (a < n) {
    if (a % 2 != 0) {
      c[j] = a;
      c[j + (n - a)] = a;
      j++;
    } else {
      c[k] = a;
      c[k + (n - a)] = a;
      k++;
    }
    a++;
  }
  for (i = 1; i <= n * 2; i++) {
    if (c[i] == 0) c[i] = n;
    cout << c[i] << " ";
  }
  return 0;
}
