#include #define rep(i,n) for(int i=0;i<(n);++i) #define all(a) (a).begin(),(a).end() using namespace std; typedef long long ll; int main() { ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; ll res = pow(10, n); vector ans; for (int i = 1; i <= sqrt(res); ++i) { if (res % i == 0 ) { ans.push_back(i); if (i * i != res) { ans.push_back(res / i); } } } sort(all(ans)); int k = (n + 1) * (n + 1); rep(i, k) { cout << ans[i] << endl; } return 0; }