#include #define rep(i,a,b) for(int i=int(a);i> N; vector V(N); cin >> V[0]; ll g = V[0]; rep(i,1,N){ cin >> V[i]; g = gcd(g, V[i]); } rep(i,0,N){ cout << V[i] / g << ":\n"[i == N-1]; } }