n,m,x=map(int,input().split()) y=abs(sum(map(int,input().split()))-x)%m if y==0: print("Yes") else: print("No")