#include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; typedef unsigned long long ull; const ll MOD = 1000000007; #define rep(i,n) for(int i=0;i=0;i--) #define all(x) (x).begin(),(x).end() int main() { int N; cin >> N; vector factors; ll x = 1; reple(i, 0, N) { ll y = 1; reple(j, 0, N) { factors.push_back(x * y); y *= 5; } x *= 2; } sort(all(factors)); for (auto x : factors) { cout << x << endl; } return 0; }