#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<int> fac; fac.reserve((int)ceil(sqrt(n))); int i; for (i = 1; i * i < n; ++i) { if (__(1)__) { fac.push_back(i); } } for (int k = 0; k < fac.size(); ++k) { cout << __(2)__ << " "; } if (__(3)__) { cout << __(4)__ << " "; } for (int k = fac.size() - 1; k >= 0; --k) { cout << __(5)__ << " "; } }