#include <bits/stdc++.h>
#pragma warning(disable : 4996)
using namespace std;
int ans[1000005];
int main() {
  int total;
  cin >> total;
  for (int i = 1; i <= total; i += 2) {
    ans[i / 2] = i;
    ans[i / 2 + total - i] = i;
  }
  for (int i = 2, j = total; i <= total; i += 2, j++) {
    ans[j] = ans[j + total - i] = i;
  }
  for (int i = 0; i < 2 * total; i++) {
    if (ans[i] == 0)
      cout << total;
    else
      cout << ans[i];
    cout << ' ';
  }
  return 0;
}
