#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e6 + 100;
int a[maxn];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  if (n % 2 == 1) {
    for (int i = 1; 2 * i < n; i++) a[i] = a[n + 1 - i] = 2 * i - 1;
    for (int i = 1; 2 * i < n; i++) a[i + n + 1] = a[2 * n + 1 - i] = 2 * i;
  } else {
    for (int i = 1; 2 * i <= n; i++) a[i] = a[n + 1 - i] = 2 * i - 1;
    for (int i = 1; 2 * i < n; i++) a[i + n + 1] = a[2 * n + 1 - i] = 2 * i;
  }
  for (int i = 1; i <= 2 * n; i++)
    if (a[i] == 0) a[i] = n;
  for (int i = 1; i <= 2 * n; i++) cout << a[i] << " ";
  cout << endl;
  return 0;
}
