#include #include #include #include #include #include #include #include #include #include #include #include #include #define CK(N,A,B) (A<=N&&N>X>>Y>>N; vector A(N); REP(i,0,N) cin>>A[i]; REP(i,0,N-1){ if(Y*A[i] > X*A[i+1]){ cout<<"NO"<