#include <bits/stdc++.h>
using namespace std;
const int N = (int)1e6 + 7;
int x[N];
int n, i;
int main() {
  cin >> n;
  for (i = n % 2 == 0 ? 1 : 2; i < n; i += 2) printf("%d ", i);
  for (i = n - 1; i >= 1; i -= 2) printf("%d ", i);
  cout << n << ' ';
  for (int i = n % 2 == 0 ? 2 : 1; i < n; i += 2) printf("%d ", i);
  cout << n << " ";
  for (int i = n - 2; i > 0; i -= 2) printf("%d ", i);
  return 0;
}
