#include <bits/stdc++.h>
using namespace std;
const int MAX = 1e6 + 1;
int n, ans[MAX];
int main() {
  ios::sync_with_stdio(0);
  cin >> n;
  for (int i = 1; i < n; ++i)
    if (i & 1)
      ans[(i >> 1) + 1] = ans[n - (i >> 1)] = i;
    else
      ans[n + (i >> 1)] = ans[(n << 1) - (i >> 1)] = i;
  for (int i = 1; i <= (n << 1); ++i)
    if (ans[i])
      cout << ans[i] << " ";
    else
      cout << n << " ";
  return 0;
}
