#include <bits/stdc++.h>
using namespace std;
long long A[300001];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(nullptr);
  long long n;
  cin >> n;
  if (n % 2) {
    for (int i = 1; i <= n; i++) {
      if (i % 2 == 0) cout << i << " ";
    }
    for (int i = n; i >= 1; i--) {
      if (i % 2 == 0) cout << i << " ";
    }
    for (int i = 1; i <= n - 1; i++) {
      if (i % 2) cout << i << " ";
    }
    cout << n << " ";
    for (int i = n - 1; i >= 1; i--) {
      if (i % 2) cout << i << " ";
    }
    cout << n << endl;
  } else {
    for (int i = 1; i <= n; i++)
      if (i % 2) cout << i << " ";
    for (int i = n; i >= 1; i--)
      if (i % 2) cout << i << " ";
    for (int i = 1; i <= n - 1; i++) {
      if (i % 2 == 0) cout << i << " ";
    }
    cout << n << " ";
    for (int i = n - 1; i >= 1; i--) {
      if (i % 2 == 0) cout << i << " ";
    }
    cout << n << endl;
  }
}
