#include <bits/stdc++.h>
using namespace std;
long long n;
int main() {
  cin >> n;
  if (n % 2 == 0) {
    for (int i = 1; i < n; i += 2) cout << i << " ";
    for (int i = n - 1; i > 0; i -= 2) cout << i << " ";
    for (int i = 2; i <= n; i += 2) cout << i << " ";
    for (int i = n - 2; i > 1; i -= 2) cout << i << " ";
    cout << n;
  } else {
    for (int i = 2; i < n; i += 2) cout << i << " ";
    for (int i = n - 1; i > 0; 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;
  }
}
