N=int(input()) A=[int(i) for i in input (). split ()] i=0 c=0 while i