#include using namespace std; int main(void) { int X,Y,N,A,B; cin >> X >> Y >> N; bool up = true; for (int i=1; i> A; if (B*Y < A*X) up = false; } cout << (up ? "YES" : "NO") << endl; return 0; }