N=int(input()) p=map(int,input().split()) m=sum(p) print(["Yes","No"][m%N>0])