n,m=map(int,input().split()) l=sum(map(int,input().split())) print(["No","Yes"][m==l/n])