package main import . "fmt" import . "os" import bf "bufio" func main() { rd:=bf.NewReader(Stdin) var n,m,s int64 Fscan(rd,&n,&m,&s) for ;n>0;n-- { var a int64 Fscan(rd,&a) s-=a } if s<0 { s=-s } if s%m==0 { Println("Yes") } else { Println("No") } }