from numpy import int64, gcd N, *A = map(int, open(0).read().split()) A = int64(A) g = gcd.reduce(A) A //= g print(*A, sep=":")