#define _USE_MATH_DEFINES #define _CRT_SECURE_NO_WARNINGS #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; //#include int main() { long long int n; cin >> n; vectora; mapt; int y = 2; a.push_back(1); t[1] = 1; for (int i = 0; i < n; i++) { for (int j = 0; j <= n; j++) { for (int k = 0; k <= n; k++) { if (!t[(long long int)(pow(2, j)*pow(5, k))]) { a.push_back(pow(2, j)*pow(5, k)); long long int s = (pow(2, j)*pow(5, k)); t[s]=1; } } } } sort(a.begin(), a.end()); for (int i = 0; i < a.size(); i++) cout << a[i] << endl; return 0; }