func main() var n: int :: cui@inputInt() var a: []int :: #[n]int for i(0, n - 1) do a[i] :: cui@inputInt() end for var gcd: int :: a[0] for i(1, n - 1) do gcd :: math@gcd(gcd, a[i]) end for do cui@print("\{a[0] / gcd}") for i(1, n - 1) do cui@print(":\{a[i] / gcd}") end for do cui@print("\n") end func