#include using namespace std; using ll = long long; #define FOR(i,a,b) for(ll i=(a);i<(b);++i) #define ALL(v) (v).begin(), (v).end() #define p(s) cout<<(s)<> N; vector A(N); FOR(i, 0, N){ cin >> A.at(i); } ll g = gcd(A[0], A[1]); FOR(i, 2, N){ g = gcd(g, A[i]); } FOR(i, 0, N){ if(i){ cout << ':'; } cout << A[i]/g; } cout << endl; return 0; }