#include <bits/stdc++.h>
using namespace std;
const int cs = 0x186A1;
const unsigned long long inf = 1LL << 60;
const int me = 500005;
const int fixx = 20;
const int mod = 1.e9 + 7;
int main() {
  int n;
  cin >> n;
  if (n % 2 == 1) {
    for (int i = 2; i <= n; i += 2) cout << i << " ";
    for (int i = n - 1; i >= 2; i -= 2) cout << i << " ";
    for (int i = 1; i <= n; i += 2) cout << i << " ";
    for (int i = n - 2; i >= 1; i -= 2) cout << i << " ";
    cout << n << endl;
  } else {
    for (int i = 1; i <= n; i += 2) cout << i << " ";
    for (int i = n - 1; i >= 1; i -= 2) cout << i << " ";
    for (int i = 2; i <= n; i += 2) cout << i << " ";
    for (int i = n - 2; i >= 2; i -= 2) cout << i << " ";
    cout << n << endl;
  }
  return 0;
}
