n, m, s = map(int, input().split()) A = list(map(int, input().split())) if sum(A) % m == s % m: print("Yes") else: print("No")