peterverebics/CodeNet_Python_118 huggingface dataset:
N=list(map(int,input().split()))
takahashi=N[2]/N[1]
aoki=N[0]/N[3]

print(takahashi)
print(aoki)

if aoki%1!=0:
   aoki=aoki+1 

if takahashi<aoki:
  print("Yes")
else:
  print("No")
n, a, b, c = (int(x) for x in input().split())
while n > 0 and b > 0:
    n -= c
    if n == 0:
        print("No")
        break
    b -= a
    if b == 0:
        print("Yes")
I = input("")
i = I.split(" ")
A = int(i[0])
B = int(i[1])
C = int(i[2])
D = int(i[3])

n1 = C/B
n2 = A/D

if n1 <= n2:
    print("Yes")
else:
    print("No")
nums = input()
nums = nums.split()
taka_hp = int(nums[0])
taka_pw = int(nums[1])
aoki_hp = int(nums[2])
aoki_pw = int(nums[3])

for i in range(0,100):
  if i%2 == 0 :
    aoki_hp -= taka_pw
  else:
    taka_hp -= aoki_pw
  if taka_hp <= 0:
    print("No")
    break
  elif aoki_hp <= 0:
    print("Yes")
    break
THP,TAT,AHP,AAT = map(int,input().split())
while THP and AHP > 0 :
    AHP -= TAT
    THP -= AAT
if THP <= 0 and AHP > 0 :
    print("No")
elif AHP <= 0 and THP > 0 :
    print("Yes")
else:
    print("No")
a,b,c,d=(int(x) for x in input().split())
while(True):
    if c > 0:
        c -= b
    else:
        break
        
    if a > 0:
        a -= b
    else:
        break
if a > 0:
    print('Yes')
else:
    print("No")
F = list(map(int,input().split()))

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

count = 0
while(1):
    if count%2==0:
        C -= B
    else:
        A -= D
    
    count += 1
    if C<=0 and A<=0:
        if C <= 0:
            print('Yes')
            break
        else:
            print('No')
            break
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())
print('YNeos'[-(-a//d) < --(c//b)::2])
A, B, C, D = list(map(int, input().split()))

n = A / D
m = C / A
if n >= m:
    print("Yes")
else:
    print("No")
a,b,c,d=map(int,input().split())
tak=-(-a//d)
aoki=-(-c//d)
if tak<aoki:
    print('No')
else:
    print('Yes')
import math
def fact(n):
    ans = 1
    for i in range(2, n+1):
        ans*= i
    return ans
def comb(n, c):
    return fact(n)//(fact(n-c)*c)

a,b,c,d = map(int, input().split())
f, l = a//d , c//b
if(f < l):
    print('Yes')
else:
    print('No')
A, B, C, D = map(int, input().split())
x = 0
while A > 0 or C > 0:
    if x % 2 == 0:
        C -= B
        x += 1
    else:
        A -= D
        x += 1
if C <= 0:
    print('Yes')
else:
    print('No')
def main():
  a, b, c, d = map(int, input().split())

  aoki_hp = a
  takahashi_hp = c
  while aoki_hp > 0 and takahashi_hp > 0:
    aoki_hp -= d
    takahashi_hp -= b
    # print(aoki_hp,takahashi_hp)

  if aoki_hp > takahashi_hp:
    print('No')
  elif aoki_hp < takahashi_hp:
    print('Yes')


if __name__ == '__main__':
  main()
from sys import stdin, stdout
a, b, c ,d = map(int, stdin.readline().strip().split())
from math import ceil
x = ceil(a/d)
y = ceil(b/c)

if x>=y:
    print('Yes')
else:
    print('No')
a,b,c,d = map(int,input().split())
#a c hp
#b d atk
t_n = c // b
a_n = a // d
t_r = c % b
a_r = a % d
if  (t_r > 0 and a_r > 0) or (a_r > 0) or (t_r == 0 and a_r == 0):
  if t_n >= a_n:
    print('YES')
  else:
    print('NO')
else:
  if t_n >= a_n:
    print('YES')
  else:
    print('NO')
A, B, C, D = map(int, input().split())
if C//B <= A//D | C//B <= 1:
	print("Yes")
else:    
	print("No")
a, b, c, d=map(int, input().split())
 
flag = False
while 0<a and 0<c:
  a = a-d
  if a <= 0:
    flag = True
    break    
  c = c-b
if True:
  print("No")
else:
  print("Yes")
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())

while not(a<=0 or c<=0):
	a=a-d
	c=c-b

if a<=0 and c<=0:
	print("yes\n")
elif a<=0:
	print("no\n")
else:
	print("yes\n")
def main():
  A, B, C, D = map(int, input().split())
  print('Yes') if int(A/D) <= int(C/B) else print('No')


if __name__ == '__main__':
  main()
A, B, C, D = map(int, input().split())
while A <= 0 or C <= 0:
 C - B
 A - D
if A <= 0:
 print("Yes")
else:
  print("No")
t_hp_str,t_atack_str,a_hp_str,a_atack_str= input().split()
t_hp = int(t_hp_str)
t_atack = int(t_atack_str)
a_hp=int(a_hp_str)
a_atack = int(a_atack_str)

for num in range(100):
  if num%2 == 0:
    a_hp = a_hp - t_atack
    if a_hp <= 0:
      print("Yes")
      break
  else:
    t_hp = t_hp - a_atack
    if t_hp <= 0:
      print("No")
      break
a, b, c, d= map(int, input().split())

if a-b< c-d:
    print("No")
else:
    print("yes")
a,b,c,d = map(int, input().split())
i = 0
while True:
    if i % 2 == 0:
        c -= b
    else:
        a -= d
    i += 1
    if a < 0:
        print("Yes")
        break
    elif c < 0:
        print("No")
        break
def main():
  A, B, C, D = map(int, input().split())
  print (C / A)
  print (D / B)
  print('Yes') if int(C/A) < int(D/B) else print('No')


if __name__ == '__main__':
  main()
A,B,C,D = map(int, input().split())
while C>0 and A>0:
  C = C-B
  A = A-D
if A<=0:
    print("No")
else:
    print("Yes")
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')
else:
    print('Yes')
a,b,c,d = map(int,input().split())
if c%b==0 and a%d!=0:
	print('yes')
else:
	print('no')
a, b, c, d = map(int, input().split())
if ((a + d - 1) // d) >= ((c + b - 1) / b):
    print("Yes")
else:
    print("No")
a, b, c, d = map(int, input().split())
print('Yes' if a/d+int(bool(a%d)) >= c/b+int(bool(c%b)) else 'No')
a,b,c,d = map(int,input().split())
while ((a>0) & (c>0)):
    c -= b
    a -= d
print(a,c)
if c<=0:
    print('Yes')
else:
    print('No')
a,b,c,d = map(int,input().split())
t = (a+b)
ak = (c+d)
print('Yes' if t>ak else "No")
def resolve():
    A, B, C, D = map(int, input().split()) 

    if (A // D) == (C // B) or (C // B) == ((A // D) + 1): 
        if (A % D) == 0 and (C % B) != 0:
            print("No")
        else:
            print("Yes")
    elif (C // B) < (A // D):
        print("Yes")
    else:
        print("No")

if __name__ == "__main__":
    resolve()
A, B, C, D = map(int, input().split())

if C//B > A//D:
    print('Yes')
else:
    print('No')
def solve(a, b, c, d):
    while a <= 0 or c <= 0:
        a -= d
        c -= b

    if a > c:
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    inputs = list(map(int, input().split()))
    solve(inputs[0], inputs[1], inputs[2], inputs[3])
a,b,c,d=[int(i) for i in input().split(' ')]
print('Yes') if a+b >= c+d 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())
kai_a = a // d
kai_c = c // b
amari_a = a % d
amari_c = c % b

if kai_a > kai_c:
    print('Yes')
elif kai_a == kai_c:
    if d >= amari_a:
        print("No")
    else:
        print('Yes')
else:
    if kai_c - kai_a == 1 and b >= amari_c and d < amari_a:
        print('Yes')
    else:
        print("No")
def main():
  A, B, C, D = map(int, input().split())
  print(A, C)
  while True:
    C -= B
    if C <= 0:
      print('Yes')
      break
    A -= D
    if A <= 0:
      print('No')
      break

if __name__ == '__main__':
  main()
a,b,c,d = map(int,input().split())

while 1:
    c=-b
    if c<=0 :
        print("Yes")
        break
    a=-d
    if a<=0 :
        print("No")
        break
i = list(map(int, input().split()))
a = i[0] / i[2]
b = i[1] / i[3]
if a >= b:
  print('Yes')
else:
  print('No')
a,b,c,d = map(int,input().split())
while a >= 0 or c >= 0:
    c =c - b
    a =a - d
if c <= 0:
    print('Yes')
else:
    print('No')
A,B,C,D = map(int,input().split())
while True:
  A -= D
  C -= B
  if A < 0:
    print("No")
    break
  if C < 0:
    print("Yes")
    break
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
A, B, C, D =map(int, input().split())
#高橋君のモンスターは体力が Aで攻撃力がB
#青木君のモンスターは体力がCで攻撃力がD

while C-B<0 or A-D<0:
  C=C-B
  A=A-D
  
if C<=0:
  print("Yes")
  
elif A<=0:
  print("No")
taka_h, taka_a, aoki_h, aoki_a = map(int, input().split())

if(aoki_h - taka_a <=0):
    print("Yes")
elif(taka_h - aoki_a<= 0):
    print("No")
a, b, c, d = map(int, input().split())
while a >= 0:
  c -= b
  if c <= 0:
    print("Yes")
    break
  else:
    a -= d
    if a <= 0:
      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())
 
while a>0 and c>0:
  if c>0:
    c += -b
    
  if c<=0:
    break
    print("Yes")
    
  if a>0:
    a += -d
    
  if a<=0:
    break
    print("No")
A, B, C, D = map(int, input().split())

for i in range(100):
  C -= B
  if C <= 0:
    print('Yes')
    exit()
  A -= D
  if A <= 0:
    print('No')
def solve():
    A, B, C, D = map(int, input().split())
    print('NYoe s'[-(-C//B) > -(-A//D)::2])


if __name__ == '__main__':
    solve()
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())

  
if a + b == c +d:
  print('Yes')
else:
  print("No")
a=list(map(int,input().split()))
for i in range(1,100):
    if a[2]-i*a[1]<=0:
        print("Yes")
        break
    elif a[0]-i*a[3]<=0:
        print("No")
        break
a,b,c,d=map(int,input().split())
import math
tempt=math.floor(a/d)
tempa=math.floor(c/b)
if tempa>=tempt:
  print("Yes")
else:
  print("No")
a, b, c, d= map(int, input().split())
if (a+b)%2> (c+d)%2:
    print("No")
else:
    print("yes")
a, b, c, d = map(int, input().split())
import math
ao = math.ceil(a / d)
taka = math.ceil(c / b)
#print(taka, ao)
if taka == ao:
    print('YES')
else:
    if taka > ao:
        print('NO')
    else:
        print('YES')
A, B, C, D = input().split(' ')

takahasi_tairyoku = int(A)
aoki_tairyoku = int(C)

takahasi_kougeki = int(B)
aoki_kougeki = int(D)

takahasi_count = aoki_tairyoku // takahasi_kougeki
aoki_count = takahasi_tairyoku // aoki_kougeki

if (takahasi_count == aoki_count):
  print('No')
elif (takahasi_count >= aoki_count):
  print('Yes')
else:
  print('No')
s = [input() for i in range(1)] 
li = list(map(int, s[0].split()))
for i in range(0,100):
    if i % 2 == 0:
        li[2] = li[2] - li[1]
        if li[2] <= 0:
            print("Yes")
            break
    else:
        li[0] = li[0] - li[3]
        if li[0] <= 0:
            print("No")
            break
a, b, c, d = map(int,input().split())

takahashi_hp = (a + d - 1) // d
aoki_hp = (b + c - 1) // c

if takahashi_hp >= aoki_hp:
    print('Yes')
else:
    print('No')
def win():
  A,B,C,D = map(int,input().split())
  for i in range(1,10):
    A = A - D
    B = B - C
  if A<=0:
      return("Yes")
  else:
      return("No")

print(win())
A, B, C, D = map(int, input().split())
t_attack = -(-1*C // B)
a_attack = -(-1*A / D)

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

i = 1
while i > 0:
  C -= B
  A -= D
  if (C <= 0 and A > 0) or (C <= 0 and A <= 0):
  	print('Yes')
  	break
  else:
  	print('No')
  	break
N=list(map(int,input().split()))
takahashi=N[2]/N[1]
aoki=N[0]/N[3]

if aoki%1!=0:
   aoki=aoki+1 

if takahashi%1!=0:
    takahashi=takahashi+1

if takahashi<=aoki:
  print("Yes")
else:
  print("No")
A,B,C,D = map(int, input().split())

while True:
    C = C-B
    print('C:',C)
    if C<=0:
        print('Yes')
        exit()
    A = A-D
    print('A:',A)
    if A <= 0:
        print('No')
        exit()
# B Battle

a,b,c,d = map(int,input().split())
ans = 1
while ans:
    a = a - d
    c = c - b
    if a <= 0 or c <= 0:
        break
print(a,c)        
if a >= c:
    print('Yes')
elif c < a:
    print('No')
# -*- coding: utf-8 -*-
"""
Spyderエディタ

これは一時的なスクリプトファイルです
"""

strT, pwT, strA, pwA = map(int, input().split())

while strT > 0 or strA > 0:
    strA -= pwT
    if strA <= 0:
        break
    strT -= pwA
    print(strT, strA)

if strT > 0:
    print('Yes')
else:
    print('No')
I=[int(i) for i in input().split()]
a,b,c,d=I[0],I[1],I[2],I[3]
while a>0 and b>0:
  c-=b
  a-=d
  if c<b:
    print("Yes")
    break
  if a<d:
    print("No")
    break
  if c==0:
    print('Yes')
    break
  if a==0:
    print('No')
    break
a,b,c,d=map(int,input().split())
while(a>0 and c>0):
  a-=d
  c-=b  
#print(a,c)
if a<=0:
  print("No")
else:
  print("Yes")
A,B,C,D = map(int, input().split())
a = C//B
aa = C%B
b = A//D
bb = A%D
if (a + aa) <= (b + bb):
    print("Yes")
else:
    print("No")
x = input()
taka_hp = int(x.split()[0])
taka_attack = int(x.split()[1])
ao_hp = int(x.split()[2])
ao_attack = int(x.split()[3])

while (taka_hp > 0 and ao_hp > 0):
    ao_hp = ao_hp - taka_attack
    taka_hp = taka_hp - ao_attack
else:
    if taka_hp == 0:
      print("No")
    elif ao_hp == 0:
      print("Yes")
x = list(map(int, input("Enter a multiple value: ").split()))
for i in x:
    x[1] -= x[2]
    x[0] -= x[3]
if x[0]<0:
    print("No")
else:
    print("Yes")
a, b, c, d = map(int, input().split())
T = True
while a > 0 and c > 0:
    if T:
        c -= b
    else:
        a -= d
    T = not T

print("Yes" if a else "No")
import math
a,b,c,d=map(int,input().split())

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

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

a_turn = a / d
b_turn = c / b

if a_turn % 1 == 0:
    a_turn = a // b
else:
    a_turn = (a//b) + 1

if b_turn % 1 == 0:
    b_turn = c // b
else:
    b_turn = (c // b) + 1

if a_turn == b_turn:
    print("Yes")
else:
    if a_turn > b_turn:
        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 >=1 and A <=100 and B >=1 and B <=100 and C >=1 and C <=100 and D >=1 and D <=100 and C+D < A+B:
    print ('No')
else:
    print ('Yes')
a,b,c,d=map(int,input().split())
for i in range(100):
    if i%2 == 0:
        c = c-b
        if c <= 0:
            print('Yes')
            break
    else:
        a = a-d
        if a <= 0:
            print('No')
            break
t_hp, t_atk, a_hp, a_atk = map(int, input().split())
while (1):
    t_hp -= a_atk
    if t_hp <= 0:
        ans = "Yes"
        break
    a_hp -= t_atk
    if a_hp <= 0:
        ans = "No"
        break
    
print(ans)
def win():
  A,B,C,D = map(int,input().split())
  for i in range(1,10000):
    A = A - D
    C = C - B
  if A<=0:
      return("Yes")
  elif B<=0:
      return("No")

print(win())
a,b,c,d = map(int, input().split())

if (a-1)//d >= (b-1)//c:
  print('Yes')
else:
  print('No')
s=list(map(int,input().split()))
a=s[0]
b=s[2]
c=0
for i in range(200):
  if a<=0 or b<=0:
    break
  if c==0:
    b=b-s[1]
    c=1
  else:
    a=a-s[3]
if a<=0:
  print('No')
else:
  print('Yes')
a,b,c,d=map(int,input().split())
while True:
    c = c - b
    if c <= 0:
        print("Yes")
        break
    a = a-d
    if a <= 0:
        print("No")
a,b,c,d= map(int, input().split())
e=a//d
f=c//b
if a%d!=0:
  e+=1
if c%b!=0:
  f+=1
if e<=f:
  print("No")
else:
  print("Yes")
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())
c -= b
while(a>0):
    c -= b
    a -= d
if c>0:
    print("Yes")
else:
    print("No")
def solve(a, b, c, d):
    # while a <= 0 or c <= 0:
    #     a -= d
    #     c -= b
    a = a - d
    c = c - b
    if a > c:
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    inputs = list(map(int, input().split()))
    solve(inputs[0], inputs[1], inputs[2], inputs[3])
num = list(map(int, input().split())) #i_1 i_2を取得し、iに値を入れる

N=int(num[2]/num[1])
if(N*num[3]<num[0]):
    print("Yes")
else:
    print("No")
import math

a, b, c, d = map(int, input().split())
T = a//d + a%d
A = c//b + c%b

T = math.ceil(T)
A = math.ceil(A)

if T >= A:
    print("Yes")
else:
    print("No")
A, B, C, D = [int(x) for x in input().split()]
t = A // D#HPが０になるもしくはギリギリの回数
a = C // B
if t >= a:
    print("yes")
else:
    print("no")
A, B, C, D = map(int, input().split())


while(True):
    if C-B <= 0:
        print("yes")
        break
    C -= B
    if A-D <= 0:
        print("no")
        break
    A -= D
import math
A, B, C, D = input().split()
 
if math.ceil(float(C)/(float(B))) >= math.ceil(float(A)/(float(D))):
  print("Yes")
else:
  print("No")
a,b,c,d=map(int, input().split())

print(c%b)
print(a%d)

if c//b < a//d:
    print('Yes')
elif c//b == a//d:
    if c%b==0:
        print('Yes')
    elif a%d!=0:
        print('Yes')
    else:
        print('No')
else:
    print('No')
A,B,C,D = map(int,input().split())
Takahashi = C - B
Aoki = A - D
if Takahashi > Aoki: 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 True:    
    x=c-b
    if x<=0:
        print('No')
        break
    y=a-d
    if y<=0:
        print('Yes')
        break
A, B, C, D = map(int, input().split())

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

x=c//b
y=a//d

if x>y:
    print('No')
else:
    print('Yes')
l=list(map(int,input().split()))
a,b,c,d=l[0],l[1],l[2],l[3]
if (a-c)<=0 or (b-d)<=0:
  print('No')
else:
  print('Yes')
A, B, C, D = map(int, input().split())
F = C - B
S = A - D
if F < S:
    print("Yes")
elif F < S:
    print("No")
elif F == S:
    print("Yes")
A,B,C,D=map(int,input().split())

if(C/B==A/D):
    print("Yes")
elif((C/B-A/D)==1 and(C%B)!=0 and A%D==0):
    print("Yes")
else:
    print("No")
A,B,C,D = map(int,input().split())
if A%C ==0:
  t = A//C
else:
  t = A//C+1
if D%B ==0:
  u = D//B
else:
  u = D//B+1
print(t,u)
if t < u:
  print('No')
else:
  print('Yes')
A,B,C,D=map(int, input().split())
while A>0 or C>0:
  C -= B
  if C <= 0:
    print('yes')
    exit()
  A -= D
  if A <= 0:
    print('No')
    exit()
a,b,c,d = map(int, input().split())
t = a/d
s = c/b
if t > s:
    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 C % B == 0:
    takahashi_attack = C // B
else:
    takahashi_attack = C // B + 1

if A % D == 0:
    aoki_attack = A // D
else:
    aoki_attack = A // D + 1

print('takahashi:',takahashi_attack)
print('aoki:',aoki_attack)

if takahashi_attack > aoki_attack:
    print('No')
else:
    print('Yes')
a, b, c, d= map(int, input().split())
if (a-b)%2==1 and (c-d)%2==0:
    print("No")
else:
    print("yes")
A,B,C,D=map(int,input().split())

if(C/B==A/D):
    print("Yes")
elif((C/B-A/D)==1 and(C%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]==0:
    print("Yes")
elif divmod(A,D)[0]==0:
    print("No")
else:
    C_1 = C-B*M
    A_1 = A-D*M
    if C_1 - B <= 0 and C_1>0 and A_1>0:
        print("Yes")
    else:
        print("No")
# abc164_b.py
A,B,C,D = map(int,input().split())
for i in range(1000):
    if i%2 == 1:
        A = A - D
    else:
        C = C - B
    if C < 0:
        if A > C:
            print('No')
            break
        else:
            print('Yes')
            break
a,b,c,d = map(int,input().split())

while a>0 or c>0 :
  c = c-b
  if c==0:
    print('Yes')
    break
  else :
    a = a-d
    if a==0:
      print('No')
      break
    else:
      continue
a,b,c,d = map(int, input().split())

count_takashi = -(-c//b)
count_aoki = -(-a//d)
print(count_takashi)
print(count_aoki)
if count_takashi <= count_aoki:
    print('Yes')
else: 
    print('No')
a, b, c, d = map(int, input().split())
print('Yes' if a/d+int(bool(a%d)) > c/b+int(bool(c%b)) else 'No')
N = list(map(int,input().split()))
s = N[2]
r = N[3]
while s or r >= 0:
    s -= N[1]
    r -= N[0]
    if s <= 0:
        print('Yes')
        break
    if s > 0 and r <= 0:
        print('No')
        break
a,b,c,d=map(int,input().split())
if max(a,c)==a and max(b,d)==b:
  print('Yes')
i=0
j=0
while True:
  if c-b>0:
    c=c-b
    i+=1
  else:
    break
while True:
  if a-d>0:
    a-=d
    j+=1
  else:
    break
if i<=j:
  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())
S = 0
while S != 1:
    A -=D
    C -=B
    if A <= 0:
        S = 1
        print("Yes")
    elif C <= 0:
        S = 1
        print("No")
    else:
        continue
import math
a, b, c, d = input().split()
a = int(a)#体力
b = int(b)
c = int(c)#体力
d = int(d)

x = math.ceil((a+d-1)/d)
y = math.ceil((c+b-1)/b)

if x < y:  
  print("Yes")
else:
  print("No")
N = (input().split())
TH = int(N[0])
TP = int(N[1])
AH = int(N[2])
AP = int(N[3])

if 1 <= TH <= 100 and 1 <= TP <= 100 and 1 <= AH <= 100 and 1 <= AP <= 100:
  A = TH / AP
  B = AH / TP
  if B <= A:
    print('Yes')
  else:
    print('No')
I=[int(i) for i in input().split()]
a,b,c,d=I[0],I[1],I[2],I[3]
while a>0 and b>0:
  c-=b
  a-=d
  if c==0:
    print('Yes')
    break
  if a==0:
    print('No')
    break
a, b, c, d = map(int, input().split())
while a > 0 and b > 0: c -= b; a -= d
print('Yes' if c == 0 else 'No')
A,B,C,D = map(int,input().split())

for i in range(10000):
    C -= B
    if C <= 0:
        print("Yes")
        break
    A -= D
    if B <= 0:
        print("No")
        break
import math
A, B, C, D = map(int, input().split())

t = math.ceil(C // A)
a = math.ceil(B // D)

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

x = c % b
y = a % d

if x > y:
    print("No")
else:
    print("Yes")
a, b, c, d = map(int, input().split())
print(a, b, c, d)

while a > 0 or c > 0:
  a -= d
  if a == 0:
    print("No")
    break
  c -= b
  if c == 0:
  	print("Yes")
a,b,c,d = map(int,input().split())
x=c/b
y=a/d
if x<y:
  print("Yes")
elif x>y:
  print("No")
else:
  print("Yes")
a,b,c,d=map(int,input().split())

e=a//d
f=c//b

if a == d:
    e -= 1
if b == c:
    f -= 1

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

if A-D <= 0:
  print('No')
  
elif C-B <= 0:
  print('Yes')
try:
  a,b,c,d=[int(x) for x in input().split()]
  while(a<=0 or c<=0):
    c=c-b
    a=a-d
    
  if(a<=0):
    print("No")
    
  else:
    print("Yes")
    
except:
  pass
A,B,C,D = map(int, input().split())

while True:
    C = C-B
    print('C:',C)
    if C<=0:
        print('No')
        exit()
    A = A-D
    print('A:',A)
    if A <= 0:
        print('Yes')
        exit()
a,b,c,d = map(int,input().split())
if c//b <= a//d:
  print('Yes')
else:
  print('No')
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=map(int,input().split())
a=a-d
c=c-b
if c<=a:
    print("No")
else:
    print("Yes")
print(a,c)
A,B,C,D = map(int, input().split())
if (A and B and C and D) <=100 and (A and B and C and D) >=1:
    Aka = A+B
    AOKI = C+D
    if Aka > AOKI:
        print("Yes")
    else:
        print("NO")
A, B, C, D = map(int, input().split())

if A/D < C/B:
  print("No")
else:
  print("Yes")
a, b, c, d = map(int, input().split())
for i in range(100):
    if c <= 0:
        print("Yes")
        break
    elif a <= 0:
        print("No")
        break
    c -= b
    a -= d
a,b,c,d = map(int,input().split())
if -c//(-b) >= -a//(-d):
  print("Yes")
else:
  print("No")
import sys
a,b,c,d = map(int,input().split())
t_1 = a//d
t_2 = a%d
a_1 = c//b
a_2 = c%b

if t_1>a_1:
  print('No')
  sys.exit()
elif  t_1<a_1:
  print('Yes')
  sys.exit()
elif t_2 < a_2:
  print('No')
  sys.exit()
elif t_2 > a_2:
  print('Yes')
  sys.exit()
else:
  print('Yes')
a, b, c, d = map(int, input().split())
print('Yes' if a/d <= c/b else '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())


#print(c//b)
#print(a//d)
if c//b<a//d:
    print('No')
else:
    if a%d==0:
        print('No')
    else:
        print('Yes')