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