#include #define rep(i, a, n) for(int i = a; i < n; i++) #define int long long using namespace std; const int INF = 1e15; signed main(){ int n; cin >> n; int now2 = 1; vector ans; for(int i = 0; i <= n; i++){ int now5 = 1; for(int j = 0; j <= n; j++){ ans.push_back(now2 * now5); now5 *= 5; } now2 *= 2; } sort(ans.begin(), ans.end()); for(int ii = 0; ii < ans.size(); ii++){ cout << ans[ii] << endl; } }