#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  int n;
  cin >> n;
  int i = 1;
  for (; i <= n; i += 2) cout << i << " ";
  int k = i - 2;
  i -= 2;
  if (n % 2 == 1) i -= 2;
  for (; i > 0; i -= 2) cout << i << " ";
  if (n % 2 == 1) cout << k << " ";
  i = 2;
  for (; i <= n; i += 2) cout << i << " ";
  k = i - 2;
  if (n % 2 == 0)
    i -= 4;
  else
    i -= 2;
  for (; i > 0; i -= 2) cout << i << " ";
  if (n % 2 == 0)
    cout << k << endl;
  else
    cout << endl;
  return 0;
}
