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