t_hp, t_atk, a_hp, a_atk = list(map(int, input().split()))

t_life_span = -(-t_hp//a_atk)

a_life_span = -(-a_hp//t_atk)

#print(t_life_span,a_life_span)

print(("Yes" if t_life_span >= a_life_span else "No"))
taka_f,taka_p,aoki_f,aoki_p = list(map(int,input().split()))

taka_life_span = -(-taka_f//aoki_p)

aoki_life_span = -(-aoki_f//taka_p)

print(("Yes" if taka_life_span >= aoki_life_span else "No"))
t_hp, t_atk, a_hp, a_atk = list(map(int, input().split()))
t_life_span = -(-t_hp // a_atk)
a_life_span = -(-a_hp // t_atk)
# print(t_life_span,a_life_span)
print(("Yes" if t_life_span >= a_life_span else "No"))

taka_f, taka_p, aoki_f, aoki_p = list(map(int, input().split()))
taka_life_span = -(-taka_f // aoki_p)
aoki_life_span = -(-aoki_f // taka_p)
print(("Yes" if taka_life_span >= aoki_life_span else "No"))

-t_hp, t_atk, a_hp, a_atk = list(map(int, input().split())) -t_life_span = -(-t_hp // a_atk) -a_life_span = -(-a_hp // t_atk) -# print(t_life_span,a_life_span) -print(("Yes" if t_life_span >= a_life_span else "No")) +taka_f, taka_p, aoki_f, aoki_p = list(map(int, input().split())) +taka_life_span = -(-taka_f // aoki_p) +aoki_life_span = -(-aoki_f // taka_p) +print(("Yes" if taka_life_span >= aoki_life_span else "No"))