#include using namespace std; double intse[80]; int main(){ double X, Y, N; cin >> X >> Y >> N; for(int i=0; i> intse[i]; } bool flag = true; X = X * 10 / 36; Y = Y * 10 / 36; for(int i=0; i intse[i+1] + 0.1){ cout << "NO" << endl; flag = false; break; } } if(flag){ cout << "YES" << endl; } return 0; }