long long l;main(n,k){scanf("%d%xd",&n,&l);l*=n;for(;n--;l-=k)scanf("%d",&k);puts(l?"NO":"YES");}