#include using namespace std; using ll = int64_t; // ------------------------------- // 2022/5/14 Hiroyuki Yamanouchi // AtCoder Rating 171 10級 // ------------------------------- // 問題文 int main() { ll N,M,S; cin >> N >> M >> S; ll total = 0; for (int i = 0; i < N; i++){ ll A; cin >> A; total += A; } string ans; if (abs(total-S) % M == 0) ans = "Yes"; else ans = "No"; cout << ans << endl; return 0; }