#include <bits/stdc++.h>
using namespace std;
const long long N = 1e6 + 10;
long long n, m, k;
long long a[N], b[N];
long long l, r, x;
signed main() {
  cin >> n;
  if (n % 2 == 0) {
    n /= 2;
    for (long long i = 1; i <= n; i++) {
      cout << i * 2 - 1 << " ";
    }
    for (long long i = n; i >= 1; i--) {
      cout << i * 2 - 1 << " ";
    }
    for (long long i = 1; i < n; i++) {
      cout << i * 2 << " ";
    }
    cout << n * 2 << " ";
    for (long long i = n - 1; i >= 1; i--) {
      cout << i * 2 << " ";
    }
    cout << n * 2 << " ";
  } else {
    n /= 2;
    for (long long i = 1; i <= n; i++) {
      cout << i * 2 - 1 << " ";
    }
    cout << n * 2 + 1 << " ";
    for (long long i = n; i >= 1; i--) {
      cout << i * 2 - 1 << " ";
    }
    for (long long i = 1; i <= n; i++) {
      cout << i * 2 << " ";
    }
    for (long long i = n; i >= 1; i--) {
      cout << i * 2 << " ";
    }
    cout << n * 2 + 1 << " ";
  }
  return 0;
}
