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