x,y,n,*a=`dd`.split.map &:to_i;s=0 puts (n-1).times.all?{|i| s+=a[i] x*(s+a[i+1])>=y*s }?:YES: :NO