#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define N 1000 #define MOD 1000000007 #define pe(str) return cout<<(str)< pii; int main(void){ int x,y; int n; cin>>x>>y>>n; int a[n]; re(i,n)cin>>a[i]; int k=a[0]; rep(i,1,n){ double t=(double)(k+a[i])/(double)y; if(t*x<=k)pe("NO"); k+=a[i]; } pe("YES"); return 0; }