#182 new # your code goes here N=int(input()) A=[int(i) for i in input (). split ()] B=[1]*N i=0 C=0 while i