#include using namespace std; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); long long n; cin >> n; vector A, B, C; long long t = 1; for(int i = 1; i <= n; i++){ t *= 2; A.push_back(t); C.push_back(t); } t = 1; for(int i = 1; i <= n; i++){ t *= 5; B.push_back(t); C.push_back(t); } sort(A.begin(), A.end()); sort(B.begin(), B.end()); C.push_back(1); for(int i = 0; i < A.size(); i++){ for(int j = 0; j < B.size(); j++){ C.push_back(A[i] * B[j]); } } sort(C.begin(), C.end()); for(auto x : C){ cout << x << endl; } return 0; }