def gcd(a,b): while a%b: a,b=b,a%b return b n=int(input()) x=list(map(int,input().split())) a,b=0,1 for i in range(1,n): if a*x[i-1]