#include <iostream>

using tp = long long;

signed main() {
  tp n;
  std::cin >> n;
  if (n == 4) {
    std::cout << "1 2 1 2 3 1 3";
  }
  return 0;
}