#include using namespace std; int main() { int n; vector v; cin >> n; int a = 1; for (int k = 0; k <= n; k++) { int b = a; for (int l = 0; l <= n; l++) { v.push_back(b); b *= 5; } a *= 2; } sort(v.begin(), v.end()); for (int x : v) cout << x << endl; return 0; }