#include <bits/stdc++.h>
using namespace std;
int s[1 << 20];
int main(void) {
  int n;
  cin >> n;
  if (n == 1) return puts("1 1") & 0;
  if (n == 2) return puts("1 1 2 2") & 0;
  int l = 1, r = n;
  for (int i = 1; i < n; i += 2) s[l] = s[r] = i, ++l, --r;
  l = n + 1, r = n + n - 1;
  for (int i = 2; i < n; i += 2) s[l] = s[r] = i, ++l, --r;
  for (int i = 1; i <= n + n; ++i)
    if (!s[i]) s[i] = n;
  for (int i = 1; i <= n + n; ++i) cout << s[i] << ' ';
  cout << '\n';
  return 0;
}
