#include <bits/stdc++.h>
using std::abs;
using std::cerr;
using std::cin;
using std::cout;
using std::make_pair;
using std::map;
using std::max;
using std::min;
using std::pair;
using std::set;
using std::string;
using std::vector;
template <typename T>
T input() {
  T res;
  cin >> res;
  return res;
}
int main() {
  std::iostream::sync_with_stdio(false);
  cin.tie(nullptr);
  uint32_t n = input<uint32_t>();
  vector<uint32_t> odd;
  vector<uint32_t> even;
  for (uint32_t i = 1; i < n; ++i) ((n - i) % 2 == 0 ? even : odd).push_back(i);
  for (auto v : odd) cout << v << " ";
  std::reverse(odd.begin(), odd.end());
  for (auto v : odd) cout << v << " ";
  for (auto v : even) cout << v << " ";
  cout << n << " ";
  std::reverse(even.begin(), even.end());
  for (auto v : even) cout << v << " ";
  cout << n << " ";
  cout << "\n";
  return 0;
}
