#include <bits/stdc++.h>
using namespace std;
int arr[int(1e6 + 100)], n;
int main() {
  while (~scanf("%d", &n)) {
    memset(arr, -1, sizeof arr);
    for (int i = 0, f = 0, l = n - 1; i < n - 1; i += 2, f++, l--)
      arr[f] = arr[l] = i;
    for (int i = 1, f = n + 1, l = 2 * n - 1; i < n; i += 2, f++, l--)
      arr[f] = arr[l] = i;
    for (int i = 0; i < 2 * n; ++i)
      if (arr[i] == -1) arr[i] = n - 1;
    for (int i = 0; i < 2 * n; ++i) printf("%d ", arr[i] + 1);
    cout << endl;
  }
}
