peterverebics/CodeNet_Python_118 huggingface dataset:
A,B,C,D = map(int,input().split())

while True:
    C -= B
    A -= D

    if C <= 0:
        result = "Yes"
        break
    if A <= 0:
        result = "No"
        break

print(result)
A,B,C,D = [int(x) for x in input().split()]
if A % D == 0 :
  takahashi = A // D
else:
  takahashi = A // D + 1
if C % B == 0 :
  aoki = C // B
else:
  aoki = C // B + 1
if takahashi >= aoki:
  print('Yes')
else:
  print('No')
p =list(map(int, input().split()))
a = p[0]
b = p[1]
c = p[2]
d = p[3]
while True:
    c = c - b
    if c <= 0:
        print("Yes")
        exit()
    a = a - d
    if a <=0:
        print("No")
        exit()
from sys import stdin

def main():

    input = stdin.readline

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

    A_turn = (C + B - 1) // B
    C_turn = (A + D - 1) // D

    if A_turn <= C_turn:
        print("Yes")
    else:
        print("No")

if __name__ == "__main__":
    main()
A,B,C,D = map(int,input().split())
while True :
    C = C - B
    if C <= 0 :
        print("Yes")
        break
    else :
        pass
    A = A - D
    if A <= 0 :
        print("No")
        break
    else :
        pass
import math
s = list(map(int, input().split()))
a=s[0]
b=s[1]
c=s[2]
d=s[3]
if math.ceil(a/d) < math.ceil(c/b):
    print('No')
else:
    print('Yes')
a, b, c, d = map(int, input().split())

def attack_count(life, power):
    count = life // power
    if life % power == 0:
        return count
    else:
        return count + 1

t_lifespan = attack_count(a, d)
a_lifespan = attack_count(c, b)

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

if c%b != 0:
    taka = c//b + 1
else:
    taka = c//b

if a%d != 0:
    ao = a//d + 1
else:
    ao = a//d

if taka > ao:
    print('No')
else:
    print('Yes')
A, B, C, D = map(int, input().split())
count = 0
while True:
    if count % 2 == 0: #Takahashi Turn
        C -= B
    else: #Aoki Turn
        A -= D
    if C <= 0:
        ret = 'Yes'
        break
    if A <= 0:
        ret = 'No'
        break
    count += 1
print(ret)
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)

a, b, c, d = map(int, readline().split())
for i in range(10000):
    c -= b
    if c <= 0:
        print('Yes')
        break
    a -= d
    if a <= 0:
        print('No')
        break
import math
a,b,c,d=map(int,input().split())
x,y=math.ceil(a/d),math.ceil(c/b)
print("Yes" if x>=y else "No")
A, B, C, D = list(map(int, input().split()))

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

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

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

if A_count < B_count:
    print("No")
else:
    print("Yes")
a,b,c,d=map(int,input().split())
T=0
A=0
while c>0:
  c-=b
  T+=1
while a>0:
  a-=d
  A+=1 
if A>=T:
  print("Yes")
else:
  print("No")
A, B, C, D = map(int, input().split())
ans = 'Yes'
for i in range(10000):
  C -= B
  if C <= 0:
    break
  A -= D
  if A <= 0:
    ans = 'No'
    break
print(ans)
a, b, c, d = map(int, input().split())
i = 0
while a > 0 and c > 0:
  if i % 2 == 0:
    c -= b
  else:
    a -= d
  i += 1
print("Yes" if a > 0 else "No")
#https://atcoder.jp/contests/abc164/tasks/abc164_b
# -*- coding: utf-8 -*-
A,B,C,D = map(int,input().split())
while C > 0 and B > 0:
  C = C - B
  if C <= 0:
    print("Yes")
    break
  A = A -D
  if A <= 0:
    print("No")
    break
tkhp, tkat, aohp, aoat = map(int, input().split())

while True:
    aohp -= tkat
    if aohp <= 0:
        print('Yes')
        break
    tkhp -= aoat
    if tkhp <= 0:
        print('No')
        break
A, B, C, D = map(int, input().split())
while A > 0:
    C -= B
    if C <= 0:
        print('Yes')
        exit()
    A -= D
print('No')
def battle():
    condition = input()
    condition_list = condition.split()
    A = int(condition_list[0])
    B = int(condition_list[1])
    C = int(condition_list[2])
    D = int(condition_list[3])
    
    while True:
        C -= B
        if C <= 0:
            print('Yes')
            return
        
        A -= D
        if A <= 0:
            print('No')
            return

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

takahashi=-(-C//B)
aoki=-(-A//D)

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

def kaisuu(atk, hp):
    if (hp/atk) > (hp//atk):
        return hp//atk + 1
    else:
        return hp//atk

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

while True:
  c -= b
  if c <= 0:
    print("Yes")
    break
    
  a -= d
  if a <= 0:
    print("No")
    break
a=list(map(int,input().split()))
def kaisuu(a,b):
    #aを守りの体力、bを攻めの攻撃力として倒すまでのターン数を計算
    if a%b == 0:
        return a/b
    else:
        return a//b+1
if kaisuu(a[2],a[1])>kaisuu(a[0],a[3]):
    print("No")
else:
    print("Yes")
import sys
def main():
    A,B,C,D=tuple(map(int,sys.stdin.readline().split()))
    t=0
    while True:
        if t==0:
            if C<=B:break
            C-=B
        else:
            if A<=D:break
            A-=D
        t^=1
    print('Yes') if t==0 else print('No')
if __name__=='__main__':main()
a,b,c,d = map(int,input().split())
for i in range(200):
    if c-b <= 0:
        print("Yes")
        break
    elif  a-d <= 0:
        print("No")
        break
    else:
        a = a-d
        c = c-b
import math

nums = [int(e) for e in input().split()]

A = math.ceil(nums[2]/nums[1])
T = math.ceil(nums[0]/nums[3])
if A <= T:
    print('Yes')
else:
    print('No')
a,b,c,d=map(int,input().split())
takahashi=c//b
if c%b!=0:
  takahashi+=1
aoki=a//d
if a%d!=0:
  aoki+=1

if takahashi<=aoki:
  print("Yes")
else:
  print("No")
t_hp,t_ap,a_hp,a_ap=map(int,input().split())
if t_hp%a_ap==0:
    tp=t_hp//a_ap
else:
    tp=t_hp//a_ap+1
if a_hp%t_ap==0:
    ap=a_hp//t_ap
else:
    ap=a_hp//t_ap+1

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

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

while a > 0 and c > 0:
    c=c-b
    a=a-d
#print(a)
if c<=0:
    print("Yes")
else:
    print("No")
import math

A, B, C, D = map(int, input().split())
a = math.ceil(C / B)
b = math.ceil(A / D)
if a <= b:
    print("Yes")
else:
    print("No")
def read_int():
    return int(input().strip())


def read_ints():
    return list(map(int, input().strip().split(' ')))


def solve():
    A, B, C, D = read_ints()
    while True:
        # health, strength = A, B
        C -= B
        if C <= 0:
            return 'Yes'
        A -= D
        if A <= 0:
            return 'No'


if __name__ == '__main__':
    print(solve())
def main():
    A, B, C, D = map(int, input().split())
    while True:
        if C - B <= 0:
            return 'Yes'
        C -= B
        if A - D <= 0:
            return 'No'
        A -= D

print(main())
A, B, C, D = map(int, input().split())
print('Yes' if (A+D-1)//D >= (C+B-1)//B else 'No')
import math
a,b,c,d=map(int,input().split())

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

if x>=y : 
    print("Yes")

else :
    print("No")
A,B,C,D=map(int,input().split( ))

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

while True:
    aoki_h -=taka_a
    taka_h -= aoki_a
    if(aoki_h <=0):
        print("Yes")
        break
    elif(taka_h <= 0):
        print("No")
        break
def main():
  #n = int(input())
  #s = input()
  #s = input().split()
  a,b,c,d = list(map(int,input().split()))
  #a = [input() for i in range(n)]
  #a = [int(input()) for i in range(n)]
  #a = [input().split() for i in range(n)]
  #a = [list(map(int,input().split())) for i in range(n)]
  ans = 0
  count = 0
  lis = []
  
  while 1:
    c = c - b
    if c <= 0:
      print("Yes")
      exit()
    a = a - d
    if a <= 0:
      print("No")
      exit()
      
if __name__ == '__main__':
  main()
a,b,c,d = map(int,input().split())
while True:
  if a > 0:
    c -= b
  else:
    print("No")
    exit()
  if c > 0:
    a -= d
  else:
    print("Yes")
    exit()
a, b, c, d = map(int, input().split())
while a > 0 or c > 0:
    c -= b
    if c <= 0:
        print("Yes")
        break
    else:
        pass
    a -= d
    if a <= 0:
        print("No")
        break
a,b,c,d =map(int,input().split())

while c>0 and a>0:
    c =c-b
    a =a-d
    if c<=0 :
        print('Yes')
        exit()
    elif a<=0 :
        print('No')
        exit()
t_hp, t_ap, a_hp, a_ap=(int(x) for x in input().split())
while(t_hp > 0):
  a_hp = a_hp - t_ap
  if a_hp < 1:
    print("Yes")
    break
  t_hp = t_hp - a_ap
if t_hp < 1:
  print("No")
def main():
    import sys
    import math
    A,B,C,D=list(map(int,sys.stdin.readline().split()))
    if math.ceil(C/B)<=math.ceil(A/D):
        print('Yes')
    else:
        print('No')

main()
import math

a, b, c, d = map(int, input().split())
 
if math.ceil(c/b) <= math.ceil(a/d):
  print('Yes')

else:
  print('No')
A, B, C, D = map(int, input().split())

while A > 0 and C > 0:
    C -= B
    A -= D

if C <= 0:
    print('Yes')
else:
    print('No')
l = [int(x) for x in input().split()]
A, B, C, D = l[0], l[1], l[2], l[3]

takahashi = C//B
if C%B > 0:
    takahashi+=1
    
aoki = A//D
if A%D>0:
    aoki+=1


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

while True:
    C -= B
    if C <= 0:
        ans = 'Yes'
        break

    A -= D
    if A <= 0:
        ans = 'No'
        break

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

while True:
    c -= b
    if c <= 0:
        print('Yes')
        break
    a -= d
    if a <= 0:
        print('No')
        break
a,b,c,d=map(int,input().split())
while True:
	c-=b
	if c<=0:
		print("Yes")
		break
	a-=d
	if a<=0:
		print("No")
		break
a, b, c, d = map( int, input().split() )
#print( a, b, c, d )
 
for i in range( 200 ):
    c = c - b
    if c <= 0:
        print( "Yes" )
        break
 
    a = a - d
    if a <= 0:
        print( "No" )
        break
a,b,c,d = map(int, input().split())

#入力チェック

while a > 0:

    c = c - b  
    if c <= 0:
        print("Yes") 
        break

    a = a - d

    if a <= 0:
        print("No")
        break
A, B, C, D = map(int, input().split())

for _ in range(1000):
    C -= B
    if C<= 0:
        print("Yes")
        break
    
    A -= D
    if A <= 0:
        print("No")
        break
import math
a, b, c, d = map(int, input().split())
print('Yes' if math.ceil((a/d))>=math.ceil((c/b)) else 'No')
import math

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

print('Yes') if math.ceil(A / D) >= math.ceil(C / B) else print('No')
from math import ceil
f=0
    # n=int(input())
    # a=list(map(int,input().split()))
    # c,d=map(int,input().split())
    
a,b,c,d=map(int,input().split())
x=ceil(c/b)
y=ceil(a/d)
if(x<=y):
    f=1


print("Yes" if f==1 else "No")
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import math
a, b, c, d = map(int, input().split())
if math.ceil(c / b) <= math.ceil(a / d):
    print("Yes")
else:
    print("No")
import sys
a, b, c, d = map(int, input().split())

for i in range(1, 10000):
    c1=c-b*i
    if (c1 <= 0):
        print ('Yes')
        sys.exit()
    a1=a-d*i
    if (a1 <= 0):
        print ('No')
        sys.exit()
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")
        break
import math
a,b,c,d=map(float,input().split())
ta=math.ceil(c/b)
aa=math.ceil(a/d)
if(ta<=aa):
    print("Yes")
else:
    print("No")
import math

a, b, c, d = map(int,input().split())
tak=math.ceil(a/d)
aok=math.ceil(c/b)
if tak>aok:
    print("Yes")
elif tak<aok:
    print("No")
else:
    print("Yes")
A, B, C, D = map(int, input().split())
done = False
while not done:
    C -= B
    if C <= 0:
        done = True
        print("Yes")
        break
    A -= D
    if A <= 0:
        done = True
        print("No")
        break
def main():
    A, B, C, D = map(int, input().split())
    i = 0
    while True:
        if i % 2 == 0:
            C -= B
        else:
            A -= D
        if A <= 0 or C <= 0:
            break
        i += 1
    if i % 2 == 0:
        print("Yes")
    else:
        print("No")

        
    

if __name__ == "__main__":
    main()
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")
        break
a,b,c,d = map(int,input().split(" "))
while True:
    c -= b
    if c <= 0:
        print("Yes")
        exit()
    a -= d 
    if a <= 0:
        print("No")
        exit()
a,b,c,d=map(int,input().split())

while True:
    c-=b
    if c<=0:
        print("Yes")
        break

    a-=d
    if a<=0:
        print("No")
        break
import math

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

tak = math.ceil(C/B)
aok = math.ceil(A/D)


if tak <= aok:
    print('Yes')
else:
    print('No')
lists = list(map(int, input().split())) #１行の入力をi[0],i[1]というように空白で分けてを取得し、iに値を入れる
a= lists[2]
t  =lists[0]
while(1): 
    a = a - lists[1]
    if a<=0:
        print("Yes")
        break
    t = t - lists[3]
    if t <= 0:
        print('No')
        break
a,b,c,d=map(int,input().split())
x=(a-1)//d
y=(c-1)//b
print("Yes" if x>=y else "No")
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())

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

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

if aoki < taka:
    print("No")
else :
    print("Yes")
import math
h1, a1, h2, a2 = map(int,input().split())
x = math.ceil(h2/a1)
y = math.ceil(h1/a2)
print("Yes" if x <= y else "No")
A, B, C, D = list(map(int, input().split()))
import math
if math.ceil(A / D) >= math.ceil(C / B):
	print('Yes')
else:
	print('No')
A, B, C, D = map(int, input().split())

T_time = C // B if C % B == 0 else C // B + 1
A_time = A // D if A % D == 0 else A // D + 1

if T_time <= A_time :
  print("Yes")
else :
  print("No")
a,b,c,d = map(int, input().split())			# "5 7" -> ["5", "7"] -> 5, 7 => N=5,K=7

while True:
	
	c -= b
	if c<=0:
		ans="Yes"
		break
	
	a -= d
	if a<=0:
		ans="No"
		break

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

div = True
while a > 0 and c > 0:
    if div:
        c -= b
        div = False
    else:
        a -= d
        div = True

if div:
    print('No')
else:
    print('Yes')
A, B, C, D = map(int, input().split())

flag = True
while (A > 0) & (C > 0):
    if flag:
        C -= B
        flag = False
    else:
        A -= D
        flag = True

if A <= 0:
    print('No')
else:
    print('Yes')
temp=list(map(int,input().rstrip().split()))
a=temp[0]
b=temp[1]
c=temp[2]
d=temp[3]
while True :
    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 True:
  c -= b
  if c <= 0:
    print("Yes")
    exit(0)
  a -= d
  if a <= 0:
    print("No")
    exit(0)
a,b,c,d=map(int,input().split())
print("No" if (a-1)//d<(c-1)//b else"Yes")
a,b,c,d = map(int,input().split())

takahashi_turn=0
aoki_turn=0

while a>0:
    a-=d
    takahashi_turn+=1 #高橋君の生き残るターン数

while c>0:
    c-=b
    aoki_turn+=1 #青木君の生き残るターン数

if takahashi_turn>=aoki_turn:
    print("Yes")
else:
    print("No")
import sys
sys.setrecursionlimit(10**7)
input = lambda: sys.stdin.readline().strip()

def main():
    A,B,C,D = map(int,input().split())
    takahashi_num = int(C/B) if C%B==0 else int(C/B)+1
    aoki_num = int(A/D) if A%D==0 else int(A/D)+1
    print("Yes" if takahashi_num<=aoki_num else "No")

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

t = 0

while True:
  if t == 0:
    C = C - B
    t = 1
    if C <= 0:
      print('Yes')
      break
  else:
    A = A - D
    t = 0
    if A <= 0:
      print('No')
      break
il = [int(k) for k in input().split()]
A = il[0]
B = il[1]
C = il[2]
D = il[3]

import math

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

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

HP_T=A
HP_A=C

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

    if HP_A<=0:
        print('Yes')
        exit()
    elif HP_T<=0:
        print('No')
        exit()
    else:
        pass
import math
a,b,c,d=(int(i) for i in input().split())
k1=math.ceil(c/b)
k2=math.ceil(a/d)
if(k1<=k2):
  print("Yes")
else:
  print("No")
import math
a, b, c, d = map(int, input().split())

taka = math.ceil(c/b)
ao = math.ceil(a/d)

is_true = True
if taka < ao:
    is_true = True
elif taka > ao:
    is_true = False
else:
    if b > d:
        is_true = False

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

while a>0 and c>0:
    c = c-b
    if c<=0:
        break
    a = a-d
if a<=0:
    print('No')
else:
    print('Yes')
T_HP,T_ATK,A_HP,A_ATK = [int(i) for i in input().split()]
while 1:
    A_HP -= T_ATK
    if A_HP <1:
        print("Yes")
        break
    T_HP -= A_ATK
    if T_HP <1:
        print("No")
        break
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())
for i in range(1000):
  if i%2==0:
    c-=b
  else:
    a-=d
  if a<=0 or c<=0:
    break
if a<=0:
  print('No')
else:
  print('Yes')
A,B,C,D = map(int, input().split())
t_ta=0
t_aa=0

tatk = C//B
tss = C % B

aatk = A//D
ass = A % D

if tss == 0:
    t_ta = tatk
else: 
    t_ta = tatk+1
    
if ass ==0:
    t_aa = aatk
else:
    t_aa = aatk+1
    
if t_ta -t_aa >0:
    print("No")
else:
    print("Yes")
a, b, c, d = list(map(int, input().split()))

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

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

if A <= 0:
    print('No')
if C <= 0:
    print('Yes')
# else:
# print(A,C)
A,B,C,D=map(int,input().split())

sFlag=True
HPC=C
HPA=A
while(sFlag):
  HPC=HPC-B
  if(HPC<=0):
    print('Yes')
    sFlag=False
    break
  HPA=HPA-D
  if(HPA<=0):
    print('No')
    sFlag=False
    break
import math

def solve(a,b,c,d):
  x = math.ceil(c / b)
  y = math.ceil(a / d)
  return "Yes" if x <= y else "No"

a,b,c,d = map(int, input().split())
ans = solve(a,b,c,d)
print(ans)
import sys

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

turn = 1
while True:
    if turn % 2 == 1:
        #takahashi turn
        C = C - B

        #判定
        if C <= 0:
            print("Yes")
            sys.exit()

    if turn % 2 == 0:
        # aoki turn
        A = A - D

        #判定
        if A <= 0:
            print("No")
            sys.exit()

    turn = turn + 1
from sys import stdin


def main():
    input = lambda: stdin.readline()[:-1]
    A, B, C, D = map(int, input().split())

    while 1:
        C -= B
        A -= D
        if C <= 0:
            print('Yes')
            break
        if A <= 0:
            print('No')
            break


main()
A,B,C,D = list(map(int,input().split()))
a=0
c=0
while A > 0:
  A -= D
  a += 1#何回でやられたか
while C > 0:
  C -= B
  c += 1#何回で倒したか
if a < c:
  print('No')
elif a >= c:
  print('Yes')
A,B,C,D = map(int,input().split())
print('Yes' if (B+C-1)//B <= (A+D-1)//D else 'No')
a,b,c,d = map(int, input().split())

cnt = 0
while a > 0 and c > 0:
    if cnt % 2 == 0:
        c -= b
    else:
        a -= d
    cnt += 1
if cnt %2 == 1:
    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("No")
        exit()
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")
HPT,ATT,HPA,ATA=map(int,input().split())
for i in range(1000):
  HPA += -ATT
  if HPA <= 0:
    print("Yes")
    break
  HPT += -ATA
  if HPT <= 0:
    print("No")
    break
import math
a,b,c,d = list(map(int, input().split(" ")))

n_t = math.ceil(a/d)
n_a = math.ceil(c/b)

if n_a <= n_t :
    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("No")
        exit()
import sys

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

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

import math

if math.ceil(a / d) >= math.ceil(c / b):
    print("Yes")
else:
    print("No")
A,B,C,D=map(int,input().split())
while C>=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())

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

  takahashi_hp = a
  aoki_hp = c
  while True:
    aoki_hp -= b
    if aoki_hp <= 0:
      print('Yes')
      break

    takahashi_hp -= d
    if takahashi_hp <= 0:
      print('No')
      break



if __name__ == '__main__':
  main()
a,b,c,d = map(int,input().split())
while a>0 and b>0:
  a-=d
  c-=b

if a <= 0 and c<=0:
  print('Yes')
elif c <= 0:
  print('Yes')
else:
  print('No')
A,B,C,D = map(int, input().split())
           
e = -(- A//D )
f = -(- C//B )

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

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

Ta = math.ceil(C/B)
Ao = math.ceil(A/D)

if(Ao < Ta):
    print("No")
else:
    print("Yes")
a,b,c,d=list(map(int,input().split(" ")))
if c%b==0:
  taro=c//b
else:
  taro=c//b+1
if a%d==0:
  sasaki=a//d
else:
  sasaki=a//d+1

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

k = math.ceil(a/d)
t = math.ceil(c/b)
if (t <= k):
    print("Yes")
else:
    print("No")
# coding=UTF-8
from collections import deque
from operator import itemgetter
from bisect import bisect_left, bisect
import itertools
import sys
import math
sys.setrecursionlimit(10**6)
input = sys.stdin.readline


def main():
    a, b, c, d = map(int, input().split())
    flag = -1
    while (a > 0 and c > 0):
        if flag == -1:
            c -= b
        else:
            a -= d
        flag *= - 1
    if flag == 1:
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    main()
import math
a, b, c, d = map(int, input().split())
tb = math.ceil(a/d)
ab = math.ceil(c/b)
if tb < ab:
    print("No")
else:
    print("Yes")
a, b, c, d = map(int, input().split())

while True:
  c -= b
  if c <= 0:
    print("Yes")
    break
  a -= d
  if a <= 0:
    print("No")
    break
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")
    break