#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i = 1;
  cin >> n;
  for (i; i <= n; i += 2) cout << i << ' ';
  i -= 2 + 2 * (i == n + 2);
  for (i; i >= 1; i -= 2) cout << i << ' ';
  i = 2;
  for (i; i <= n; i += 2) cout << i << ' ';
  i -= 2 + 2 * (i == n + 2);
  for (i; i >= 1; i -= 2) cout << i << ' ';
  cout << n;
  return 0;
}
