#include <bits/stdc++.h>
using namespace std;
int a[200005], b[200005];
int main() {
  int i, j, k, m, n, x, y, m1, m2, p, q, x1, x2, y1, y2, l, r;
  long long sum;
  bool flag;
  char c;
  while (cin >> n) {
    if (n % 2) {
      for (i = 1; i <= n; i += 2) cout << i << ' ';
      for (i = n - 2; i >= 1; i -= 2) cout << i << ' ';
      for (i = 2; i <= n - 1; i += 2) cout << i << ' ';
      for (i = n - 1; i >= 2; i -= 2) cout << i << ' ';
      cout << n << endl;
    } else {
      for (i = 1; i <= n - 1; i += 2) cout << i << ' ';
      for (i = n - 1; i >= 1; i -= 2) cout << i << ' ';
      for (i = 2; i <= n; i += 2) cout << i << ' ';
      for (i = n - 2; i >= 2; i -= 2) cout << i << ' ';
      cout << n << endl;
    }
  }
  return 0;
}
