peterverebics/CodeNet_Python_118 huggingface dataset:
A, B, C, D = list(map(int, input().split()))
while A>0:
    C -= B
    A -= D
    if C <= 0:
        print("Yes")
        exit
print("No")
a, b, c, d = map(int, input().split())

if c % b == 0:
    takahashi = c / b
else:
    takahashi = c / b + 1

if a % d == 0:
    aoki = a / d
else:
    aoki = a / d + 1

if takahashi <= aoki:
    print("Yes")
else:
    print("No")
a, b, c, d = map(int, input().split())

x = a/d
y = c/b

if x >= y:
  print("Yes")
else:
  print("No")
A, B, C, D= map(int,input().split())
if (A+B)>(C+D):
    print("Yes")
elif A>B or B>C:
    print("Yes")
elif B>A or C>B:
    print("No")
else:
    print("No")
a = list(map(int,input().split()))
t1 = a[0]#hp
t2 = a[1]#atc
a1 = a[2]
a2 = a[3]

if a1%t2 == 0:
  if a1/t2 < t1/a2+1:
    print("Yes")
  else:
    print("No")
else:
  if a1/t2 < t1/a2:
    print("Yes")
  else:
    print("No")
ta, td, aa, ad = map(int, input().split())

which = -1
while td > 0 and ad > 0:
    if which == -1:
        ad -= ta
    else:
        td -= aa
    which *= -1

if ad <= 0:
    print("Yes")
else:
    print("No")
a,b,c,d = list(map(int,input().split()))
na = c-b
nb = a-d
while na > 0 and nb > 0:
    na -= c
    nb -= d
if na <=0:
    print("Yes")
else:
    print("NO")
a, b, c, d = map(int, input().split())

for i in range(1,100):
    c = c - b
    if c <= 0:
        break
    else:
        a = a - d
        if a <= 0:
            break
if c == 0:
    print("Yes")
else:
    print("No")
a, b, c, d = map(int, input().split())

for i in range (100):
    A = a - i*b
    C = c - i*d
    
if(A <= 0):
    print('No')
else :
    print('Yes')
a, b, c, d = map(int, input().split())

for i in range(1,100):
    c = c - b
    if c <= 0:
        print("Yes")
        break
    else:
        a = a - d
        if a <= 0:
            print("No")
            break
from math import ceil
A, B, C, D = map(int, input().split())

if (ceil(C/B) -1 <= ceil(A/D)):
  print("Yes")

else:
  print("No")
a,b,c,d = map(int,input().split(" "))
while True:
  c -= b
  if c <= 0:
    print("yes")
    exit()
  a -= d
  if a <= 0:
    print("yes")
    exit()
a,b,c,d = map(int,input().split())
while a>0 and b>0:
  a-=d
  c-=b
print(a,c)
if a <= 0 and c<=0:
  print('Yes')
elif c <= 0:
  print('Yes')
else:
  print('No')
a,b,c,d=map(int,input().split())
c=c-a
a=a-d

while a>=0:
    c=c-b
    a=a-d
    if c==0:
        print("Yes")
        break
    elif a==0:
        print("No")
        break
K = input().split(" ")
k = [int(n) for n in K]
t =k[0]//k[3]
a = k[2]//k[1]
t1 = k[0]%k[3]
a1 = k[2]%k[1]
if t+1 > a:
    print('Yes')
elif t+1 == a and t1 != 0:
    print('Yes')
else:
    print('No')
A, B, C, D = map(int, input().split())
N = C//B
M = A//D
n = C % B
m = A % D
 
if N < M:
  print('Yes')
elif N > M:
  print('No')
elif N == M:
  if n == 0:
    print('Yes')
  elif m == 0:
    print('No')
  else:
    print('Yes')
A, B, C, D = map(int, input().split())
if A//D >= C//B:
  print('No')
else:
  print('Yes')
a,b,c,d=[int(i) for i in input().split()]

taka = int(c/b)
taka_a = c%b
aoki = int(a/d)
aoki_a = a%d

if aoki < taka:
  print('Yes')
elif taka < aoki:
  print('No')
else:
  if aoki_a == 0:
    print('No')
  else:
    if taka_a == 0:
      print('Yes')
    else:
      print('No')
A, B, C, D = map(int,input().split())

while(A or C != 0):
    A = A - D
    if(A == 0):
        print("No")
        break
    C = C - B
    if(C == 0):
        print("Yes")
        break
a,b,c,d = [int(x) for x in input().split()]

while((a>0) and (c>0)):
  c = c-b
  a = a-b
 
if a<=0:
  print("No")
else:
  print("Yes")
A,B,C,D=map(int,input().split())
a=A//D
b=C//B
if a>b:
  print('Yes')
  
if a==b:
  if A%D==0:
    print('No')
  else:
    print('Yes')
    
if a==b-1:
  if C%B==0:
    print('Yes')
  else:
    print('No')
    
else:
  print('No')
A, B, C, D =  map(int, input().split())
x = A
y = C
T_count = 0 
A_count = 0
for i in range(100):
    y = y - B
    if y >= 0:
        T_count += 1 
    else:
        T_count += 0
        break

for j in range(100):
    x = x - D
    if x >= 0:
        A_count += 1 
    else:
        A_count += 0
        break

if T_count <= A_count:
    print('Yes')
else:print('No')
a,b,c,d = map(int,input().split())

cd = c // b +1

ad = a // d +1
if ad < cd :
    print('No')

elif  ad < cd:
    print('Yes')
else:
    print('No')
A,B,C,D = map(int, input().split())

while True:
    D = D - B
    if D <= 0:
        print("Yes")
        break
    C = C - A
    if C <= 0:
        print("No")
        break
a, b, c, d= map(int, input().split())
if abs(a-b)%2> abs(c-d)%2:
    print("No")
else:
    print("yes")
a, b, c, d = list(map(int, input().split()))
A = a - d
B = c - b
if A>=B:
  print('Yes')
else:
  print('No')
a = input()
a = a.split()
b = int(a[1])
c = int(a[2])
d = int(a[3])
a = int(a[0])
e = a / d
f = b / c
if int(e) < e:
    e = e + 1
if int(f) < f:
    f = f + 1
if e >= f:
    print("Yes")
else:
    print("No")
a, b, c, d = map(int, input().split()) 
if a/d > c/b:
  print("Yes")
else:
  print("No")
a, b,c,d = map(int, input().split())
 
  
if a + b == c +d or a + b > c + d:
  print('Yes')
else:
  print("No")
import math
a,b,c,d = map(int,input().split())

cb = math.ceil(c/d)

ad = math.ceil(a/d)
if ad < cb :
    print('No')

elif  ad < cb:
    print('Yes')
else:
    print('Yes')
tt,ta,at,aa=map(int,input().split())
 
for i in range(100):
 at-=ta 
 if at-ta>0:
    pass
 elif at-ta<=0:
    print("Yes")
    exit()
 tt-=aa
 if tt-aa>0:
    pass
 elif tt-aa<=0:
    print("No")
    exit()
A, B, C, D = map(int,input().split())

def shohai(A, B, C, D):
    while A > 0 and C > 0:
        aoki = C - B
        takahashi = A - D
        if aoki <= 0:
            return('Yes')
        if takahashi <= 0:
            return('No')
        C = aoki
        A = takahashi

shohai(A,B,C,D)
A, B, C, D = map(int, input().split())

aoki_count = A//D
takahashi_count = C//B

if aoki_count < takahashi_count:
    print("Yes")
elif aoki_count == takahashi_count:
    if A%D >= 0:
        print("Yes")
    else:
        print("No")
elif aoki_count > takahashi_count:
    print("No")
A,B,C,D  = map(int, input().split())

i = C // B

y = A // D

if C-B*i >= A-D*y:
  print("No")
else:
  print("Yes")
a, b, c, d = map(int, input().split())
cnt_t = c//b
cnt_a = a//d
print('Yes' if cnt_t > cnt_a else 'No')
a,b,c,d = map(int,input().split())
if(a>c):
    print("Yes")
else:
    print("No")
A,B,C,D = map(int,input().split())
while True:
	C = C - B
	if C <= 0 : 
		print("Yse")
		break
	A = A - D
	if A <= 0 : 
		print("No")
		break
import math

A, B, C, D = input().split()

A = int(A)
B = int(B)
C = int(C)
D = int(D)

E = math.ceil(C/A)
F = math.ceil(D/B)

if E <= F:
    print('Yes',"")
else:
    print('No',"")
a, b, c, d = map(int, input().split())

if a == b == c == d:
    print('Yes')
    exit()

new_a = a 
new_c = c

while a <= 0 or c <= 0:
    c = new_c - b
    a = new_a - d

    new_c = c 
    new_a = a 

if new_a > new_c:
    print('Yes')
else:
    print('No')
a, b, c, d = map(int, input().split())

while a<=0 or c <= 0:
  a = a - d
  c = c - b

if a <= 0:
  print("No")
else:
  print("Yes")
A,B,C,D=map(int,input().split())
E=A//D
F=C//B
if  E < F:
	print("Yes")
elif E == F and A%D != 0:
	print("Yes")
elif E == F+1 and C%B != 0 and A%D == 0:
	print("Yes")    
else:
	print("No")
import math
a,b,c,d = map(int,input().split())
#a c hp
#b d atk
t_n = math.ceil(c / b)
a_n = math.ceil(a / d)

if t_n-1 <= a_n:
    print('YES')
else:
    print('NO')
a,b,c,d = map(int, input().split())
if  a+b>c+d:
  print("Yes")
else:
  print("No")
A,B,C,D = map(int, input().split())

while A > 0 and C > 0:
  C -= B
  if C <= 0:
    print("Yes")
    break
  A -= D
  if B <= 0:
    print("No")
    break
A, B, C, D = map(int, input().split())
turnsT = A//D + 1
turnsA = C//B + 1
print("Yes") if turnsT >= turnsA else print("No")
a,b,c,d=map(int, input().split())


if c//b == a//d:
    if c%b==0:
        print('Yes')
    elif a%d!=0:
        print('Yes')
    else:
        print('No')
elif c//b > a//d:
    if c//b-a//d==1:
        print('Yes')
    else:
        print('No')
else:
    print('Yes')
a, b, c, d = map(int, input().split())
while True:
    a -= d
    if a <= 0:
        print('No')
        break
    c = -b
    if c <= 0:
        print('Yes')
        break
data = input().split()
a = int(data[0])
b = int(data[1])
c = int(data[2])
d = int(data[3])


while True:
    if a <= 0:
        print("No")
        break
    elif c <= 0:
        print("Yes")
        break
    a -= d
    c -= b
a, b, c, d = [int(x) for x in input().split()]
while a > 0 or b > 0:
    a -= c
    b -= d
print('Yes' if a < 0 else 'No')
line = input().split()
a=int(line[0])
b=int(line[1])
c=int(line[2])
d=int(line[3])
e=c//b
f=a//d
if e<f:
  print("Yes")
elif e==f and c%b==0:
  print("Yes")
elif e==f and c%b>0 and a%b>0:
  print("Yes")
else:
  print("No")
A,B,C,D = map(int,input().split())
M = min([divmod(A,D)[0],divmod(C,B)[0]])
if divmod(C,B)==0:
    print("Yes")
elif divmod(A,D)==0:
    print("No")
else:
    C_1 = C-B*M
    A_1 = A-D*M
    if C_1 - B <= 0:
        print("Yes")
    else:
        print("No")
import math
a,b,c,d=map(int,input().split())
e=math.ceil(c/b)
f=math.ceil(a/d)
if e>f:
  print('Yes')
elif e==f:
  print('Yes')
else:
  print('No')
arg = list(map(int, input().split()))
A = arg[0]
B = arg[1]
C = arg[2]
D = arg[3]

while True:
  A = A - D
  if A <= 0:
    break
  C = C - B
  if C <= 0:
    break

if A <= 0:
  print('No')
else:
  print('Yes')
a,b,c,d = map(int,input().split())
while a>0 and c>0:
  c=c-b
  a=a-d
if a<=0:
  print("No")
else:
  print("Yes")
A_s,B_s,C_s,D_s=input().split()
A=int(A_s)
B=int(B_s)
C=int(C_s)
D=int(D_s)

ansA=C/B
ansC=A/D

if C%B!=0:
    ansA=ansA+1
if A%D!=0:
    ansC=ansC+1

if ansA>=ansC:
    print("Yes")
else:
    print("No")
A,B,C,D=map(int,input().split())
win=A/D
lose=C/B
if win>lose:
  print("Yes")
else:
  if lose-win<=1 and A%D!=0:
    print("Yes")
  else:
    print("No")
a, b, c, d = map(int, input().split())

aoki_attack = (a+b-1)//d
takahashi_attack = (c+b-1)//b

if aoki_attack >= takahashi_attack:
  print("Yes")
else:
  print("No")
a , b , c , d = map(int, input().split())
# a,c = health b, d = attack
if c -b <= 0 :
  print("Yes")
elif c-b <= a- d :
  print("Yes")
else :
  print("No")
a,b,c,d=map(int,input().split())
if a+b>c+d and max(a,b)>max(c,d):
    print('Yes')
else:
    print('No')
taka_life, taka_at, aoki_life, aoki_at = list(map(int, input().split())) 
num=1
for i in range(10000):
  if num % 2 != 0:
    aoki_life -= taka_at
  elif num % 2 == 0:
    taka_life -= aoki_at
    
  if taka_life <= 0:
    print("No")
    break
  elif aoki_life <= 0:
    print("Yes")
    break
A, B, C, D = map(int, input().split())
if (C%B != 0): T = C/B + 1 
else: T = C/B
if (A%D != 0): Ao = A/D + 1 
else: Ao = A/D

if(T > Ao): print('No')
else: print('Yes')
A,B,C,D = map(int, input().split())
List1 = [A,B]
List2 = [C,D]
if sum(List1) > sum(List2):
    print("Yes")
else:
    print("No")
import math
A, B, C, D = map(int, input().split())

E = math.ceil(A//D)
F = math.ceil(C//B)

if E >= F:
    print('Yes')
else:
    print('No')
A,B,C,D = map(int,input().split())
if C//B <= A//D:
  print("No")
else:
  print("Yes")
a,b,c,d=map(int,input().split())
taka=c/b
ao=a/d
taka=taka if taka==c//b else taka+1
ao=ao if ao==a//d else ao+1
print("Yes" if taka<=ao else "No")
a, b, c, d = map(int, input().split())

if a+b > c+d:
	print('Yes')
else:
	print('No')
A,B,C,D  = map(int, input().split())

i = C // B

y = A // D

if i > y:
  print("Yes")
else:
  print("No")
h = input()
list = h.split(' ')

taka_def = int(list[0])
taka_off = int(list[1])
aoki_def = int(list[2])
aoki_off = int(list[3])

if aoki_def - taka_off <=0:
	list[0] = aoki_def - taka_off
	print('Yes')
else:
	list[2] = taka_def - aoki_off
	if taka_def - aoki_off <=0:
		print('Yes')
	else:
		list[0] = aoki_def - taka_off
		if aoki_def - taka_off <=0:
			print('No')
		else:
			list[2] = taka_def - aoki_off
			print('Yes')
a,b,c,d= map(int,input().split())
z = c//b
w = a//d
if c%b!=0:z+=1
if a%d!=0:w+=1
if z>w:print("NO")
else:print("YES")
a,b,c,d=map(int,input().split())
if c<b:print("Yes")
elif c%b<=0 and c//b>=a//d:print("Yes")
elif c%b<b:print("Yes")
else:print("No")
a, b, c, d = map(int, input().split())
while a>0 and d>0:
    d -= b
    if(d<=0):
        print("Yes")
        break
    a -= c
    if(a<=0):
        print("No")
        break
A, B, C, D = map(int, input().split())
if A-B <= 0:
    print("No")
elif C-D <= 0:
    print("No")
else:
    print("Yes")
a,b,c,d = list(map(int,input().split()));

while a>0 and c>0 :
    a -= d;
    c -= b;

if a < 0:
    print('No');
else :
    print('Yes');
a, b, c, d = map(int, input().split())
if a <= 0:
  print("NO")
else:
  c = c - b
  if c <= 0:
    print("YES")
  else:
    a = a - d
    if a <= 0:
      print("NO")
i = list(map(int, input().split()))
if int(i[2]/i[1]) <= int(i[0]/i[3]):
	if  int(i[0]%i[3]) == 0:
		print("No")
	else :
		print("Yes")		#takahashi 
else:
	print("no")		#takahashi

print(int(i[2]/i[1]) , int(i[0]/i[3]))
# coding: utf-8
# Your code here!

input_line = input().split()
A_HP = int(input_line[0])
A_ATTACK = int(input_line[1])
B_HP = int(input_line[2])
B_ATTACK = int(input_line[3])

while A_HP >= 0 or B_HP >= 0:
    A_HP -=B_ATTACK
    B_HP -= A_ATTACK

    if A_HP <= 0:
        print('No')
        break
    
    else:
        print('Yes')
        break
A, B, C, D = map(int, input().split())
if int(A / B) - int(C / D) > 0:
    print('Yes')
else:
    print('No')
a,b,c,d = map(int, input().split())


n = c // b
m = c % b

if m != 0:

    if a - n * d <= 0 | a - (n-1) * d <= 0:
        print('No')

    else:
        print('Yes')


if m == 0:
    if a - (n-2) * d <= 0 | a - (n-1) * d <= 0:
        print('No')

    else:
        print('Yes')
import sys
a,b,c,d = map(int,input().split())
for i in range(100):
    if i % 2 == 0:
        c -= b
        if c <= 0:
            print("Yes")
            sys.exit()
    else:
        a -= d
        if a <= 0:
            print("No")
            sys.exit()
A,B,C,D=list(map(int,input().split()))

for x in A,B,C,D:
    C-B 
    A-D
else:
    if C-B < A-D :
        print('Yes')
    else:
        print('No')
a, b, c, d = map(int, input().split())
p = 0
while(c > 0):
    c = c - b
    a = a - d
    if a == 0:
        p = 1
        break
if p == 1:
    print("No")
else:
    print("Yes")
a,b,c,d = map(int,input().split())	
cnt =0
while a > d and c > b:
    c -= b
    if c <= 0:
        print('Yes')
    else:
        a -= d
        if a <= 0:
            print('No')
        else:
            cnt += 0
A, B, C, D = list(map(int, input().split()))
while A>0 and B>0:
    C -= B
    if C < 0:
        print("Yes")
        break
    A -= D
    if A < 0:
        print("No")
        break
A,B,C,D = map(int, input().split())
S = 0
while S != 1:
    A = A-B
    C = C-B
    if A <= 0:
        S = 1
        print("Yes")
    if C <= 0:
        S = 1
        print("No")
    else:
        continue
A, B, C, D = map(int, input().split())
while A <= 0 or C <= 0:
 A = A - D
 C = C - B
if A >= C:
  print("Yes")
else:
  print("No")
t_hp, t_power, a_hp, a_power = map(int, input().split())

while True:
    a_hp -= t_power
    t_hp -= a_power
    if a_hp < 0 or t_hp < 0:
        break

if t_hp > a_hp:
    print("Yes")
else:
    print("No")
a,b,c,d = map(int,input().split())
if (a+b > c+d):
  print("Yes")
else:
  print("No")
A, B, C, D = map(int, input().split())

T_kougeki = C / B     # 高橋くんが攻撃して、青木くんの体力が0になるまでの回数
A_kougeki = A / D     # 青木くんが攻撃して、高橋くんの体力0になるまでの回数

if T_kougeki >= A_kougeki:
    print('Yes')

else:
    print('No')
a,b,c,d = map(int,input().split())
if c//(b+1) <= a//(d+1):
    print("Yes")
else:
    print("No")
from math import ceil
a,b,c,d = map(int, input().split())
x = (a+d-1)/d
y = (b+c-1)/b
if (x>=y):
  print("Yes")
else:
    print("No")
A,B,C,D = map(int,input().split())
if C - B < A - D: print ("Yes")
else: print ("No")
A,B,C,D=map(int,input().split())
E=A//D
F=C//B
if  E > F:
	print("Yes")
elif E == F and A%D != 0:
	print("Yes")
elif E+1 == F and C%B == 0 and A%D != 0:
	print("Yes")    
else:
	print("No")
taka_f,taka_p,aoki_f,aoki_p = 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")
A, B, C, D = map(int, input().split())

X = C // B
Y = A // D

M = C % B
N = A % D

if X > Y and M > 0 and N > 0:
  print('Yes')
elif X == Y and M > 0 and N == 0:
  print('No')
elif X == Y and M == 0 and N == 0:
  print('Yes')
elif X == Y and M == 0 and N > 0:
  print('No')
else:
  print('Yes')
A,B,C,D=map(int,input().split())
if A//D>=C//B:
    print("Yes")
else:
    print("No")
A,B,C,D = input().split(" ")
count = 0
while (count!=0):
  C = int(C) - int(B)
  if int(C)<=0: 
    print(Yes)
    count = count + 1
  else: 
    continue
  A = int(A) - int(D)
  if int(A)<=0: 
    print(No)
    count = count + 1
  else: 
    continue
[A, B, C, D] = list(map(int, input().split()))
X = A / D
Y = C / B
if X <= Y:
    print('Yes')
else:
    print('No')
a = list(map(int,input().split()))

A = a[0]
B = a[1]
C = a[2]
D = a[3]

while A>0 and B>0:
  B = B - D
  if B <= 0:
    print("Yes")
    break
  A = A - C
  if B <= 0:
    print("No")
    break
numbers = input().split(" ")
healthOfT = int(numbers[0])
strengthOfT = int(numbers[1])
healthOfA = int(numbers[2])
strengthOfA = int(numbers[3])
times_T_win = healthOfA//strengthOfT + 1
times_A_win = healthOfT//strengthOfA + 1
if times_T_win <= times_A_win:
	print("Yes")
else:
	print("No")
A,B,C,D=input().split()
A = int(A)
B = int(B)
C = int (C)
D = int(D)
if A - B > C and C -D<A or A - B ==0:
    print ('Yes')
else:
    print ('No')
A, B, C, D = map(int, input().split())
while A * C > 0: C -= B; A -= D
print('No' if C else 'Yes' )
a,b,c,d = map(int, input().split())


print(5//6)
#print(a//d)
if c//b<a//d:
    print('No')
elif c//b==a//d==0:
    print('No')
elif c//b==a//d and a%d==0:
    print('No')
else:
    print('Yes')
a, b, c, d = map(int, input().split())
takahashi = c//b
aoki = a//d
if takahashi < aoki:
    print("Yes")
else:
    print("No")
a,b,c,d=map(int,input().split())
 
while a>0 or c>0:
  c-=b
  a-=d
if a>c:
  print("Yes")
else:
  print("No")
a,b,c,d = map(int,input().split())

ans1 = a//c
ans2 = b//d

if ans1 >= ans2:
  print("Yes")
else:
  print("No")
a,b,c,d = map(int,input().split())
if a/b >= c/d:
    print('No')
else:
    print('Yes')
import math
a,b,c,d=map(float,input().split())
ta=c/b
aa=a/d
ta=math.floor(ta)
aa=math.floor(aa)
if(c%d):
    ta=ta+1
if(a%d):
    aa=aa+1
if(ta>=aa):
    print("Yes")
else:
    print("No")
a, b, c, d = map(int, input().split())
tak = -(-c//b)
aok = -(-a//d)

if tak < aok:
  print("No")
else:
  print("Yes")
a,b,c,d=map(int,input().split())

taka=a/d
ao=c/b

if a%d==0:
  
  if taka>=ao:
    print('Yes')
  else:
    print('No')
else:
  if taka+1>=ao:
    print('Yes')
  else:
    print('No')
from math import ceil
a, b, c, d = map(int, input().split())
x = ceil(c/b)
y = ceil(a/d)
if x <= y+1:
    print('Yes')
else:
    print('No')
import sys

def ISI(): return map(int, sys.stdin.readline().rstrip().split())

a, b, c, d =ISI()
if a//d < c//b:print("Yes")
elif a//d > c//b:print("No")
else:
	if c%b==0:print("Yes")
	else:print("No")
i = input().split()
A, B, C, D = int(i[0]), int(i[1]), int(i[2]), int(i[3])

takahashi = C/B+(not C%B==0)
aoki = A/D+(not A%D==0)
if takahashi < aoki+1 :print('Yes')
else: print('No')
a,b,c,d = map(int,input().split())
if -int(-c / b) > -int(-a / d):
    print("Yes")
else:
    print("No")
A,B,C,D = map(int, input().split())
S = 0
while S != 1:
    C = C - B
    A = A - D
    if C <= 0:
        S = 1
        print("No")
    elif A <= 0:
        S = 1
        print("Yes")
    else:
        continue
from math import ceil
A,B,C,D = list(map(int, input().split()))
E = ceil(A/C)
F = ceil(B/D)
if E >= F:
    print('Yes')

else:
    print('No')
a, b, c, d= map(int, input().split())

if a-b>= d-c:
    print("No")
else:
    print("yes")
a,b,c,d =  [int(i) for i in input().split()]

while a > 0 and c > 0:
  c =- b
  a =- d

if a <= 0:
  print('No')
if c <= 0:
  print('Yes')
a,b,c,d=map(int,input().split())
e=[]
f=[]
g=c-b
h=a-d
while c>0:
    g=c-b
    e.append(g)
    c=g
    h=a-d
    f.append(h)
    a=h
if e[len(e)-1]>f[len(f)-2]:
    print('Yes')
elif e[len(e)-1]<0:
    print('Yes')
else:
    print('No')
a,b,c,d=map(int, input().split())

if int(c//b) > int(a//d):
    print('Yes')
elif int(c//b) == int(a//d):
    if c%b==0:
        print('Yes')
    elif a%d!=0:
        print('Yes')
    else:
        print('No')
else:
    print('No')
import sys
a, b, c, d = map(int, input().split())

while a > 0:
  c = c - b
  if c < 0:
    print('Yes')
    sys.exit()
  a = a - d
  
print('No')
a,b,c,d = map(int,input().split())

while (a<=0) or (c<=0):
    if c <= 0:
        c -= b
        if c <= 0:
            break
            print("Yes")
        else:
            pass
    
    if a <= 0:
        a -= d
        if a<= 0:
            break
            Print("No")
        else:
            pass
A,B,C,D = map(int,input().split())

if A // D == 0:
    A_zero_num = A // D
else:
    A_zero_num = A // D +1

if C // B == 0:
    C_zero_num = C // B
else:
    C_zero_num = C // B +1

if A_zero_num == C_zero_num:
    print("Yes")

elif A_zero_num > C_zero_num:
    print("No")

else:
    print("Yes")
a, b, c, d=map(int, input().split())

while 0<=a and 0<=c:
  a = a-d
  c = c-b
if a <= 0:
  print("No")
else:
  print("Yes")
A, B, C, D = map(int, input().split())

i, j = 0, 0

while A > 0:
    A -= D
    i += 1

while C > 0:
    C -= B
    j += 1

if i <= j:
    print('Yes')
else:
    print('No')
a,b,c,d = map(int,input().split())
aoki_new = c-b
taka_new1 = a-d
if taka_new1 < aoki_new :
	print("No") #takahasi is loses because its heath is zero first
else:
	print("Yes")
a,b,c,d=map(int,input().split())
while a<=0 or c<=0:
  a-=d
  c-=b
  if c<=0:
    print("Yes")
  elif a<=0:
    print("No")
Taka_T,Taka_A,Aoki_T,Aoki_A= map(int, input("高橋体力_高橋攻撃_青木体力_青木攻撃 > ").split())

while True:
    Aoki_T = Aoki_T - Taka_A
    Taka_T = Taka_T - Aoki_A
    if Aoki_T <= 0:
        print("Yes")
        break
    elif Taka_T <= 0:
        print("No")
        break
# coding: utf-8
# Your code here!

input_line = input().split()
A_HP = int(input_line[0])
A_ATTACK = int(input_line[1])
B_HP = int(input_line[2])
B_ATTACK = int(input_line[3])

while A_HP >= 0 or B_HP >= 0:
    A_HP -=B_ATTACK
    B_HP -= A_ATTACK

    if A_HP <= 0:
        print("NO")
        break
    
    else:
        print("YES")
        break
a,b,c,d=map(int,input().split())
c-b
e=0
f=0
while a-d>0:
    g=a-d
    e+=1
    a=g
while c-b>0:
    h=c-b
    f+=1
    c=h
if e<f:
    print('Yes')
elif f==0:
    print('Yes')
elif e==f:
    print('No')
else:
    print('No')
a,b,c,d = map(int,input().split())

x = a / d
y = c / b

if x >= y:
    print("Yes")
else:
    print("No")
A,B,C,D=map(int,input().split())

HP_T=A
HP_A=C

for i in range(1,102):
    if i%2==1:
        HP_A -= B
    else:
        HP_T -= D

    if HP_A<=0:
        print('No')
    else:
        print('Yes')
a, b, c, d = map(int, input().split())

s = a/d
k = c/b

if s >= k:
  print("yes")
else:
  print("No")
a, b, c, d = map(int, input().split())
while 0 >= a or 0 >= c:
    c -= b
    if c > 0:
        d -= a
if a > c :
    print("Yes")
else:
    print("No")
# -*- coding: utf-8 -*-
# 整数の入力
a,b,c,d = map(int, input().split())
# 文字列の入力
while a>=0 and c>=0 :
  c = c-b
  if c <= 0:
    print("yes")
    break
  else:    
    a = a-d
    if a <= 0:
      print("no")
      break
A,B,C,D=map(int,input().split())
while A==0 or C==0:
     a-d
     c-b
if A>C:
	print('Yes')
else:
	print('No')
a,b,c,d=map(int,input().split())
e=[]
f=[]
g=c-b
h=a-d
while c>0:
    g=c-b
    e.append(g)
    c=g
    h=a-d
    f.append(h)
    a=h
if len(e)!=1:
    if e[len(e)-1]<f[len(f)-2]:
        print('Yes')
    else:
        print('No')
elif len(e)==1:
    print('Yes')
raw_input = input().split()

takahashi_hp = int(raw_input[0])
takahashi_ak = int(raw_input[1])
aoki_hp = int(raw_input[2])
aoki_ak = int(raw_input[3])

while takahashi_hp > 0 and aoki_hp > 0:
    takahashi_hp -= aoki_ak
    aoki_hp -= takahashi_ak

if takahashi_hp <= 0:
    print('No')
elif aoki_hp <= 0:
    print('Yes')
a,b,c,d=map(int,input().split())
if c<=b:print("Yes")
elif c%b==0 and (c//b)>=(a//d):print("Yes")
else:print("No")