N=int(input()) A=list(map(int,input().split())) def calc(c,A): if c<0: return 0 X=[] Y=[] for a in A: if a & (1<