#include <bits/stdc++.h>
using namespace std;
const int maxn = 2e6;
int n;
int a[maxn];
int main() {
  cin >> n;
  int h = n + 1;
  for (int i = 1; i < n; i += 2) {
    a[i / 2 + 1] = a[i / 2 + 1 + n - i] = i;
  }
  for (int i = 2; i < n; i += 2) {
    a[h] = a[h + n - i] = i;
    h++;
  }
  for (int i = 1; i <= 2 * n; i++) {
    if (a[i] == 0) a[i] = n;
  }
  for (int i = 1; i <= 2 * n; i++) {
    printf("%d ", a[i]);
  }
  return 0;
}
