#include using namespace std; using ll=long long; #define rep2(i, a, n) for(int i = (a); i < (n); i++) #define rep(i, n) rep2(i,0,n) #define fore(i,a) for(auto &i:a) #define all(x) (x).begin(),(x).end() int main(){ cin.tie(nullptr);ios_base::sync_with_stdio(false); int n;cin>>n; vector ans; rep(i2,n+1)rep(i5,n+1){ ll x = 1; rep(i,i2) x *= 2; rep(i,i5) x *= 5; ans.push_back(x); } sort(all(ans)); fore(x, ans)cout<