#include using namespace std; int main() { int N; cin >> N; vector V; for (int i = 0; i <= N; i++) for (int j = 0; j <= N; j++) V.push_back(pow(2, i) * pow(5, j)); sort(V.begin(), V.end()); for (int i = 0; i < V.size(); i++) cout << V.at(i) << "\n"; }