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