#include using namespace std; #ifdef LOCAL #include "settings/debug.cpp" #define _GLIBCXX_DEBUG #else #define Debug(...) void(0) #endif #define rep(i, n) for (int i = 0; i < (n); ++i) using ll = long long; using ull = unsigned long long; int main() { int _n; cin >> _n; ll n = 1; rep(_, _n) n *= 10; set st; for (ll p2 = 1, c2 = 0; c2 <= _n; p2 *= 2, c2++) { for (ll p5 = 1, c5 = 0; c5 <= _n; p5 *= 5, c5++) { st.insert(p2 * p5); } } for (ll x : st) { cout << x << endl; } return 0; }