#include #include using namespace std; using namespace atcoder; using ll = long long; using ld = long double; int main() { int N; cin >> N; string numstr = "1" + string(N, '0'); ll M = stoll(numstr); vector divisors; vector two(N + 1, 1); for (int i = 1; i <= N; i++) { two[i] = two[i - 1] * 2; } vector five(N + 1, 1); for (int i = 1; i <= N; i++) { five[i] = five[i - 1] * 5; } for (int i = 0; i <= N; i++) { for (int j = 0; j <= N; j++) { divisors.push_back(two[i] * five[j]); } } sort(divisors.begin(), divisors.end()); for (int i = 0; i < divisors.size(); i++) cout << divisors[i] << endl; return 0; }