#include <bits/stdc++.h>
int main() {
  std::ios_base::sync_with_stdio(false);
  std::cin.tie(nullptr);
  size_t n;
  std::cin >> n;
  std::vector<size_t> numbers(2 * n);
  for (size_t left = 0, right = n - 1, number = 1; left < right;
       ++left, --right, number += 2) {
    numbers[left] = number;
    numbers[right] = number;
  }
  for (size_t left = n, right = 2 * n - 2, number = 2; left < right;
       ++left, --right, number += 2) {
    numbers[left] = number;
    numbers[right] = number;
  }
  for (auto& elem : numbers) {
    if (elem == 0) {
      elem = n;
    }
  }
  for (auto elem : numbers) {
    std::cout << elem << ' ';
  }
  return 0;
}
