#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int* nums = new int[1000005];
  int l = 0, r = n - 1;
  int i = 1;
  while (l < r) {
    nums[l] = nums[r] = i;
    i += 2;
    ++l;
    --r;
  }
  if (l == r) nums[l] = n;
  l = n, r = 2 * n - 2;
  i = 2;
  while (l < r) {
    nums[l] = nums[r] = i;
    i += 2;
    ++l;
    --r;
  }
  if (l == r) nums[l] = n;
  nums[2 * n - 1] = n;
  for (int i = 0; i < 2 * n; ++i) cout << nums[i] << " ";
  return 0;
}
