#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; set st; for(int i = 0; i <= n; i++) { for(int j = 0; j <= n; j++) { st.insert(pow(2, i) * pow(5, j)); } } for(auto i : st) { cout << i << '\n'; } return 0; }