#include <bits/stdc++.h>
using namespace std;
void make(int l, int r, int start, vector<int>& vec) {
  while (l <= r) {
    vec[l++] = vec[r--] = start;
    start += 2;
  }
}
int main() {
  int n;
  cin >> n;
  vector<int> vec(n + n);
  make(0, n - 1, 1, vec);
  make(n, 2 * n - 2, 2, vec);
  vec[n + n - 1] = n;
  for (int result : vec) cout << result << ' ';
  return 0;
}
