let nms = readLine()!.split(separator: " ").map{Int($0)!} let (n,m,s) = (nms[0],nms[1],nms[2]) let arr = readLine()!.split(separator: " ").map{Int($0)!} let ss = arr.reduce(0,+) if abs(s-ss) % m == 0{ print("Yes") }else{ print("No") }