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