n=int(input()) *x,=map(int,input().split()) lx=set(x) if len(lx)1::2])