#include using namespace std; typedef long long int ll; #define rep(i, n) for (int i = 0; i < (n); i++) ll f(int n, int t) { ll ans = 1; for (int i = 1; i <= t; i++) ans *= n; return ans; } int main() { cin.tie(0); ios::sync_with_stdio(false); int n; vector v; cin >> n; for (int i = 0; i <= n; i++) for (int j = 0; j <=n; j++) v.push_back(f(2,i)*f(5,j)); sort(v.begin(), v.end()); for (int i = 0; i < v.size(); i++) cout << v[i] << endl; return 0; }