N, M, S = map(int, input().split()) A = list(map(int, input().split())) sum_A = sum(A) if sum_A % M == S % M: print("Yes") else: print("No")