#include using namespace std; typedef long long ll; int main(){ int n; cin >> n; ll y; vector v; for (int i = 0; i <= n; i++) for (int j = 0; j <= n; j++){ y = pow(2,i)*pow(5,j); v.push_back(y); } sort(v.begin(), v.end()); for(auto x : v) cout << x << endl; return 0; }