#include <bits/stdc++.h>
using namespace std;
const int N = 5e5 + 10;
int f[2 * N];
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  int n;
  cin >> n;
  int g1 = 1, g2 = n + 1;
  for (int i = 1; i <= n - 1; i++) {
    if (i & 1) {
      f[g1] = i;
      f[g1 + n - i] = i;
      g1++;
    } else {
      f[g2] = i;
      f[g2 + n - i] = i;
      g2++;
    }
  }
  for (int i = 1; i <= 2 * n; i++) {
    if (f[i] == 0)
      cout << n << " ";
    else
      cout << f[i] << " ";
  }
  return 0;
}
