#include using namespace std; int main(){ double x, y; int n; cin >> x >> y >> n; double a[n]; for(int i=0; i> a[i]; double b=a[n-2]/x; double c=b*y; if(c>=a[n-1]) cout << "NO" << endl; else cout << "YES" << endl; return 0; }