Problem:
 Score : 200 points    Problem Statement Takahashi and Aoki will have a battle using their monsters.  The health and strength of Takahashi's monster are A and B , respectively, and those of Aoki's monster are C and D , respectively.  The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ...
Here, an attack decreases the opponent's health by the value equal to the attacker's strength.
The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins.  If Takahashi will win, print Yes ; if he will lose, print No .      Constraints  1 \leq A,B,C,D \leq 100  All values in input are integers.         Input Input is given from Standard Input in the following format:  A  B  C  D       Output If Takahashi will win, print Yes ; if he will lose, print No .        Sample Input 1 10 9 10 10      Sample Output 1 No  First, Takahashi's monster attacks Aoki's monster, whose health is now 10-9=1 .  Next, Aoki's monster attacks Takahashi's monster, whose health is now 10-10=0 .  Takahashi's monster is the first to have 0 or less health, so Takahashi loses.       Sample Input 2 46 4 40 5      Sample Output 2 Yes

Solution (Python):
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

Solution (Python):
from sys import stdin


if __name__ == "__main__":
    _in = [_.rstrip() for _ in stdin.readlines()]
    A, B, C, D = list(map(int,_in[0].split(' ')))  
    
    HP_takahashi = A
    HP_aoki = C
    while HP_takahashi-D > 0 or HP_aoki-B > 0:
        HP_aoki -= B
        HP_takahashi -= D
    else:
        if HP_takahashi <= 0 and HP_aoki <= 0:
            TF = 'Yes'
        elif HP_takahashi <= 0:
            TF = 'No'
        else:
            TF = 'Yes'
    
    print(TF)

Solution (Python):
a,b,c,d=map(int,input().split())
turn=0
while a>0 and c>0:
  if turn%2==0:
    c-=b
  else:
    a-=d
  if c<=0:
    ans="Yes"
  if a<=0:
    ans="No"
  turn+=1
print(ans)

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

takahashi = a // d
aoki = c // b

if a%d != 0 :
    takahashi += 1
else :
    takahashi += 0

if c%b != 0 :
    aoki += 1
else :
    aoki += 0

if takahashi >= aoki :
    print("Yes")
else :
    print("No")

Solution (Python):
A,B,C,D=map(int,input().split())
if A%D==0:
    k=int(A/D)
else:
    k=int(A/D)+1

if C%B==0:
    l=int(C/B)
else:
    l=int(C/B)+1


if l<=k:
    print("Yes")
else:
    print("No")

Solution (Python):
import sys

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


while True:
  C = C - B
  if C <= 0:
    print('Yes')
    sys.exit()
  
  A = A - D
  if A <= 0:
    print('No')
    sys.exit()

Solution (Python):
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

Solution (Python):
A,B,C,D = map(int,input().split())
ans = ''
while A > 0 and C > 0:
    C -= B
    if C <= 0:
        ans = 'Yes'
    else:
        A -= D
        if A <= 0:
            ans = 'No'
print(ans)

Solution (Python):
A,B,C,D = input().split()
A = int(A)
B = int(B)
C = int(C)
D = int(D)

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

    if A <= 0:
        print('No')
        break

Solution (Python):

import math


def main():

    
    first_input = list(map(lambda x:int(x), input().split(" ")))
    

    
    
    

    
    

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

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


if __name__ == '__main__':
    main()

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

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

if flag:
    print ('Yes')
else:
    print('No')

Solution (Python):
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

Solution (Python):
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()

Solution (Python):
A,B,C,D = map(int, input().split())
takaAttackNum = C//B
aokiAttackNum = A//D

if takaAttackNum != C/B:
  takaAttackNum+=1
if aokiAttackNum != A/D:
  aokiAttackNum+=1

if takaAttackNum <= aokiAttackNum :
  print("Yes")
else:
  print("No")

Solution (Python):
A, B, C, D = map(int,input().split())
while A > 0 and B > 0:
   C = C - B
   A = A - D
print('Yes'if C <= 0 else 'No' )

Solution (Python):
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 1:
    aoki_hp -= takahashi_ak
    if aoki_hp <= 0:
        print('Yes')
        break
    takahashi_hp -= aoki_ak
    if takahashi_hp <= 0:
        print('No')
        break

Solution (Python):


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

n = max([int(a / d) + 1, int (c / b) + 1])

for i in range(n):
    a -= d
    c -= b
    
    if c <= 0:
        print('Yes')
        exit()
    elif a <= 0:
        print('No')
        exit()

Solution (Python):
L = list(map(int,input().split()))
A=L[0]
B=L[1]
C=L[2]
D=L[3]

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

Solution (Python):

import sys
input = sys.stdin.readline

A,B,C,D = (int(x) for x in input().split())
while 0 <A and 0 <C:
         
    C -=B
    if 0 <C:
        A -=D
if 0 <A:
    print("Yes")
else:
    print("No")

Solution (Python):
A,B,C,D = map(int, input().split())
THP = A
AHP = C
while(True):
    
    AHP -= B
    if(AHP <= 0):
        print("Yes")
        break
    
    THP -= D
    if(THP <= 0):
        print("No")
        break

Solution (Python):
A,B,C,D = map(int,input().split())
if A%D == 0 and C%B==0:
    if A/D < C/B:
        print("No")
    else:
        print("Yes")
elif A%D!=0 and C%B==0:
    if (A//D)+1 < C/B:
        print("No")
    else:
        print("Yes")
elif A%D==0 and C%B!=0:
    if A/D < (C//B)+1:
        print("No")
    else:
        print("Yes")
else:
    if (A//D)+1 < (C//B)+1:
        print("No")
    else:
        print("Yes")

Solution (Python):


TT, TA, AT, AA = map(int, input().split())

while True:
    AT = AT - TA 
    if (AT <= 0):
        print("Yes")
        break

    TT = TT - AA 
    if (TT <= 0):
        print("No")
        break

Solution (Python):




def main():
    A, B, C, D = map(int, input().split())
    while True:
        C -= B
        if C <= 0:
            result = "Yes"
            break
        A -= D
        if A <= 0:
            result = "No"
            break

    print(result)


if __name__ == "__main__":
    main()

Solution (Python):
import sys
a,b,c,d = map(int, input().split())

while(1):
  c = c-b
  if(c <= 0):
    print("Yes")
    sys.exit()
  a = a-d
  if(a <= 0):
    print("No")
    sys.exit()

Solution (Python):
a, b, c, d = map(int, input().split())
while a > 0 or c > 0:
    c -= b
    if c <= 0:
        print("Yes")
        break
    a -= d
    if a <= 0:
        print("No")
        break

Solution (Python):
import sys

a,b,c,d = (int(x) for x in input().split())

while(1):
    c-=b
    if c<=0:
        print("Yes")
        sys.exit()
    a-=d
    if a<=0:
        print("No")
        sys.exit()

Solution (Python):
A,B,C,D = map(int,input().split())
if A%D==0:
    counter_ao=A//D
else:
    counter_ao=A//D+1

if C%B==0:
    counter_ta=C//B
else:
    counter_ta=C//B+1

if counter_ao >= counter_ta :
    print("Yes")
else:
    print("No")

Solution (Python):
a,b,c,d=map(int,input().split())
t=0
k=0
while a>0:
  a=a-d
  t=t+1
while c>0:
  c=c-b
  k=k+1
if t>k:
  print('Yes')
elif k>t:
  print('No')
elif t==k:
  print('Yes')

Solution (Python):
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()

Solution (Python):
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

Solution (Python):
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

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

takahashi = 0
aoki = 0

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

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




if aoki <= takahashi:
  print("Yes")
else:
  print("No")

Solution (Python):
a, b, c, d = map(int, input().split())
ac = int(a / d)
bc = int(c / b)

if a % d != 0:
    ac += 1
if c % b != 0:
    bc += 1

if ac >= bc:
    print('Yes')
else:
    print('No')

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

if (a-1)//d >= (c-1)//b:
  print("Yes")
else:
  print("No")

Solution (Python):
A,B,C,D = map(int, input().split())
i = 0
while True:
    C -= B
    if C<=0:
        print("Yes")
        break
    if C>0:
        A -= D
        if A<=0:
            print("No")
            break
    i += 1

Solution (Python):


Tp, Ta, Ap, Aa = map(int, input().split())

while True:
  
  Ap = Ap - Ta
  if Ap <= 0:
    print('Yes')
    break
  
  Tp = Tp - Aa
  if Tp <= 0:
    print('No')
    break

Solution (Python):
def main():
    a = list(map(int, input().split()))
    A = a[0]
    B = a[1]
    C = a[2]
    D = a[3]
    for i in range(1000):
        C = C - B
        if C <= 0:
            print("Yes")
            break
        A = A - D
        if A <= 0:
            print("No")
            break
if __name__ == '__main__':
    main()

Solution (Python):
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

Solution (Python):


def solve(a: int, b: int, c: int, d: int) -> bool:
    while True:
        c -= b
        if c <= 0:
            return True
        a -= d
        if a <= 0:
            return False


def main():
    A, B, C, D = map(int, input().split())
    ans = solve(A, B, C, D)
    print(ans and 'Yes' or 'No')

if __name__ == '__main__':
    main()

Solution (Python):
a,b,c,d=[int(i) for i in input().split(' ')]
ta = int(c/b + .9)
ao = int(a/d + .9)
print('No') if (ta > ao) else print('Yes')

Solution (Python):

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

ans_a = A
ans_c = C
count_a = 0
count_c = 0

while(ans_a>0):
  ans_a = ans_a - D
  count_a = count_a +1
  

while(ans_c>0):
  ans_c = ans_c - B
  count_c = count_c +1
  
  
if(count_a>=count_c):
  print("Yes")
else:
  print("No")

Solution (Python):
hp_a,at_a,hp_b,at_b = map(int, input().split())


b_death = ((hp_b-0.01) // at_a) + 1
a_death = ((hp_a-0.01) // at_b) + 1


if b_death > a_death:
  print("No")
else:
  print("Yes")

Solution (Python):

A,B,C,D = map(int,input().split())
for i in range(10000):
    if i%2 == 1:
        A = A - D
    else:
        C = C - B
    if C <= 0 or A <= 0:
        if A > C:
            print('Yes')
            break
        else:
            print('No')
            break

Solution (Python):
A,B,C,D = input().split()
a = int(A)
b = int(B)
c = int(C)
d = int(D)

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

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


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

if t >= a:
    print("Yes")
else:
    print("No")

Solution (Python):
import math
a, b, c, d = map(int, input().split())
if math.ceil(a/d) + 1 > math.ceil(c/b) :
  print('Yes')
else:
  print('No')

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

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

if C % B == 0:
	AO = C // B
else:
	AO = C // B + 1

if AO <= TK:
	print("Yes")
else:
	print("No")

Solution (Python):
A,B,C,D=map(int,input().split())
t=0
while True:
    if t%2==0:
        C=C-B
    else:
        A=A-D
    
    if C<=0:
        print("Yes")
        break
    if A<=0:
        print("No")
        break
    t+=1

Solution (Python):
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

Solution (Python):
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')

Solution (Python):
a,b,c,d = map(int,input().split())
while a > 0 and c > 0:
    c = c - b
    a = a - d
if a <= 0 and c > 0:
    print("No")
else:
    print("Yes")

Solution (Python):
a,b,c,d = [int(i) for i in input().split(' ')]

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

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

cnt =0
while True:
    if a <= 0:
        print("No")
        exit()
    elif c <= 0:
        print("Yes")
        exit()

    if cnt %2 == 0:
        c -= b
    else:
        a-=d
    cnt+=1

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


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

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

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

if a%d>0 and c-(e+1)*b<=0:
  print('Yes')
elif a%d==0 and c-e*b<=0:
  print('Yes')
else:
  print('No')

Solution (Python):
A,B,C,D=map(int,input().split())
X=C//B
Y=A//D
S=C%B
T=A%D
if S !=0:
    X=X+1

if T !=0:
    Y=Y+1

if X>Y:
    print("No")
else:
    print("Yes")

Solution (Python):
def main():
    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')
            exit()
main()

Solution (Python):
a = list(map(int,input().split()))
while True:
  a[2] = a[2] - a[1]
  if a[2] < 1:
    print("Yes")
    exit(0)
  a[0] = a[0] - a[3]
  if a[0] < 1:
    print("No")
    exit(0)

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

T = c//b

A = a//d
if c%b>0:
    
    T +=1
if a%d>0:
    A +=1

if T <= A:
    print("Yes")
else:
    print("No")

Solution (Python):
A, B, C, D = map(int, input().split())
while A > 0 and C > 0:
    C -= B
    A -= D
    if C <= 0:
        print("Yes")
        break
    if A <= 0:
        print("No")
        break

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

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


if A<=0:
    print('No')
elif C<=0:
    print('Yes')

Solution (Python):
A, B, C, D = list(map(lambda x:int(x), input().split(" ")))

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

Solution (Python):
h1, a1, h2, a2 = map(int, input().split())

h2 -= a1
while True:
    if h2 > 0:
        h1 -= a2
    else:
        print("Yes")
        break
    if h1 > 0:
        h2 -= a1
    else:
        print("No")
        break

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

while True:
    C-=B
    if C<=0:
        print("Yes")
        exit()
    else:
        A-=D
        if A<=0:
            print("No")
            exit()

Solution (Python):
A, B, C, D = [int(x) for x in input().strip().split(" ")]

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

Solution (Python):
import math

A,B,C,D = [int(i) for i in input().split()]

num_T = math.ceil(A / D)
num_A = math.ceil(C / B)

if num_A > num_T:
  print('No')
else:
  print('Yes')

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

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

Solution (Python):
abcd = input().split(" ")
a = int(abcd[0])
b = int(abcd[1])
c = int(abcd[2])
d = int(abcd[3])

flag = 0
while a > 0 and c > 0:
    c = c - b
 
    if c <= 0:
        flag = 1
        break
    a = a - d
    if a <= 0:
        flag = 2
        break

if flag == 1:
    print('Yes')
else:
    print('No')

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

Solution (Python):
a,b,c,d =map(int,input().split())
j = -(-c//b) 
k = -(-a//d)
if j <= k:
  print("Yes")
else:
  print("No")

Solution (Python):
import math
A, B, C, D = map(int, input().split())
if math.ceil(A/D) >= math.ceil(C/B):
  print('Yes')
else:
  print('No')

Solution (Python):
import math

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

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

if taka >= ao:
	print('Yes')
else:
	print('No')

Solution (Python):
import math
a,b,c,d=map(int,input().split())
print('Yes' if math.ceil(a/d)>math.ceil(c/b)-1 else 'No')

Solution (Python):
a = list(map(int, input().split()))

if a[2]%a[1]==0:
  T = a[2]//a[1]
else:
  T = a[2]//a[1]+1

if a[0]%a[3]==0:
  A = a[0]//a[3]
else:
  A = a[0]//a[3]+1

if T<= A:
  print('Yes')
else:
  print('No')

Solution (Python):
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

Solution (Python):
import sys
import math

lines = sys.stdin.readlines()

x = lines[0].split(' ')
A =int(x[0])
B =int(x[1])
C =int(x[2])
D =int(x[3])

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

if a <= b:
    ans ='Yes'
else:
    ans ='No'

print(ans)

Solution (Python):
import math
A,B,C,D = map(int,input().split())

kaisu1 = math.ceil(C/B)
kaisu2 = math.ceil(A/D)

if kaisu1>kaisu2:
  print("No")
  
else:
  print('Yes')

Solution (Python):
tHP,tAT,aHP,aAT = map(int,input().split())

while tHP>0 and aHP>0:
    aHP = aHP - tAT
    if aHP<=0:
        print("Yes")
        break
    tHP = tHP - aAT
    if tHP<=0:
        print("No")
        break

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

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

if taka > aoki:
    print("No")
else:
    print("Yes")

Solution (Python):
a,b,c,d=(int(x) for x in input().split())
while True:
    c = c - b
    a = a - d
    if c <= 0:
        print("Yes")
        break
    elif a <= 0:
        print("No")
        break

Solution (Python):
import math

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



t_count = math.ceil(c / b)
a_count = math.ceil(a / d)

if t_count <= a_count:
  print('Yes')
else:
  print('No')

Solution (Python):
import sys

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

while a>0 or b>0:
    c -= b
    if c <=0:
        print('Yes')
        sys.exit()
    else:
        a -= d
        if a<=0:
            print('No')
            sys.exit()

Solution (Python):
a,b,c,d = map(int, input().split())
i = 1
TreminingHP = a
AreminingHP = c
while(True):
  if i % 2 is 1:
    AreminingHP-= b
    if AreminingHP<=0:
      print("Yes")
      break
  else:
    TreminingHP-= d
    if TreminingHP<=0:
      print("No")
      break
  
  i+=1

Solution (Python):


t_hp, t_ap, a_hp, a_ap = map(int, input().split())
while True:
    if a_hp <= t_ap:
        print('Yes')
        break
    if t_hp <= a_ap:
        print('No')
        break

    a_hp -= t_ap
    t_hp -= a_ap

Solution (Python):
import math
a, b, c, d = map(int, input().split())
taka = math.ceil(a/d)
aoki = math.ceil(c/b)
if taka >= aoki:
    print("Yes")
else:
    print("No")

Solution (Python):
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")

Solution (Python):
statusList = input().split(" ")
health1=int(statusList[0])
strength1=int(statusList[1])
health2=int(statusList[2])
strength2=int(statusList[3])
while True:
    health2 = health2 - strength1
    if (health2 <= 0):
        print("Yes")
        break
    health1 = health1 - strength2
    if (health1 <= 0):
        print("No")
        break

Solution (Python):


a, b, c, d = [0] * 4

def format_input(filename = None):
	global a, b, c, d
	if filename == None:
		a, b, c, d = list(map(int, input().split()))

	elif filename == '__random__':
		from random import randint as rng
		a = rng(1, 10**1)
		b = rng(1, 10**1)
		c = rng(1, 10**1)
		d = rng(1, 10**1)
		print(a, b, c, d)

def get_answer():
	t_attack = (c - 1) // b
	a_attack = (a - 1) // d

	if t_attack <= a_attack:
		answer = 'Yes'
	else:
		answer = 'No'
	return answer

if __name__ == '__main__':
	format_input()

	ans = get_answer()
	print(ans)

Solution (Python):
A, B, C, D = input().rstrip().split(' ')
A = int(A)
B = int(B)
C = int(C)
D = int(D)

res_A = A
res_C = C
count_A = 0
count_C = 0

while res_A > 0:
  res_A -= D
  count_A += 1

while res_C > 0:
  res_C -= B
  count_C += 1

if count_C <= count_A:
  print('Yes')
elif count_C > count_A:
  print('No')

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

while A>0 and C>0 :
  C=C-B
  if C<=0 :
    break
  else :
    pass
  A=A-D
if C<=0:
  print("Yes")
else :
  print("No")

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

Solution (Python):
A,B,C,D=input().split()
A=int(A)
B=int(B)
C=int(C)
D=int(D)
def dif(x,y):
  if x%y ==0:
    z=x//y
  if x%y>0:
    z=x//y+1
  return(z)

N=dif(C,B)
M=dif(A,D)
if M>=N:
  print('Yes')
else:
  print('No')

Solution (Python):
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

Solution (Python):
a,b,c,d = list(map(int,input().split()))

while True:

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

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

taka=(c-1)//b+1
ao=(a-1)//d+1

if(ao>=taka):
    print("Yes")
else:
    print("No")

Solution (Python):
import math
A, B, C, D = map(int, input().split())
a = math.ceil(C / B)
c = math.ceil(A / D)
if a <= c:
    print("Yes")
else:
    print("No")

Solution (Python):
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

Solution (Python):
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

Solution (Python):
import numpy as np
import math

a,b,c,d=(float(x) for x in input().split());

takalife = math.ceil(a/d);
aolife = math.ceil(c/b);

if takalife==aolife or takalife>aolife:
  print("Yes");
else:
  print("No")

Solution (Python):
i = list(map(int, input().split()))

A = i[0]
B = i[1]
C = i[2]
D = i[3]
flg = 0
while(A>0 and C>0):
    C -= B
    if(C<=0):
        flg = 1
        break
    A -= D
    if(A<=0):
        flg = 2
        break

if(flg == 1):
    print("Yes")
else:
    print("No")

Solution (Python):
list = input().split()
a = int(list[0])
b = int(list[1]) 
c = int(list[2])
d = int(list[3])


while c>0 and a>0:
    c = c - b
    if c <= 0:
        print("Yes")
        break
    else:
        pass

    a = a -d
    if a<= 0:
        print("No")
        break
    else:
        pass

Solution (Python):
a,b,c,d = map(int,input().split())
while (a > 0 and c > 0):
    c -= b
    if c <= 0:
        ans = "Yes"
        break
    a -= d
    if a <= 0:
        ans = "No"
        break
print(ans)

Solution (Python):
a,b,c,d = map(int, input().split())
flg = ''
while flg == '':
    c = c-b
    if c <= 0:
        flg = 'taka'
        break
    a = a-d
    if a <= 0:
        flg = 'aoki'
        break
if flg == 'taka':
    print('Yes')
else:
    print('No')

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

Solution (Python):
A,B,C,D = map(int,input().split())
while(A>0 and C>0):
    C = C - B
    if (C <= 0):
        print("Yes")
        break
    A = A - D
    if(A<=0):
        print("No")
        break

Solution (Python):
import math

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

if math.ceil(c/b) <= math.ceil(a/d):
  print('Yes')
else:
  print('No')

Solution (Python):
a,b,c,d =map(int,input().split())
takalife=a
aokilife=c
for i in range(101):
  aokilife=aokilife-b
  if aokilife<=0:
      print("Yes")
      exit()
  takalife=takalife-d
  if takalife<=0:
      print("No")
      exit()

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

flag = True
while flag:
  c -= b
  if c <= 0:
    print("Yes")
    flag = False
  else:
    a -= d
    if a <= 0:
      print("No")
      flag = False

Solution (Python):
Ht, At, Ha, Aa = map(int, input().split())

i = 1
while i > 0:
  Ha -= At
  if Ha <= 0:
    print('Yes')
    break
  Ht -= Aa
  if Ht <= 0:
    print('No')
    break

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

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

if a > 0:
    print('Yes')
elif c > 0:
    print('No')
else:
    print('Yes')

Solution (Python):
A,B,C,D=(int(x) for x in input().split())
t=A/D
a=C/B
if A<=D:
    t=1
elif A%D==0:
    t=t
else:
    t=t+1
if C<=B:
    a=1
elif C%B==0:
    a=a
else:
    a=a+1

if a<=t:
    print("Yes")
else:
    print("No")

Solution (Python):
a, b, c, d = map(int, input().split())
if (a % d == 0):
  th = a // d
else:
  th = a // d + 1
if b * th >= c:
  print("Yes")
else:
  print("No")

Solution (Python):
nums = input().split()

A = int(nums[0])
B = int(nums[1])
C = int(nums[2])
D = int(nums[3])

at_T = (C+B-1) // B
at_A = (A+D-1) // D

if (at_T > at_A ):
	print("No")
else:
	print("Yes")

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

cc =  c / b if c % b == 0  else int(c / b) + 1
aa =  a / d if a % d == 0  else int(a / d) + 1

if cc <= aa:
    print('Yes')
else:
    print('No')

Solution (Python):
A, B, C, D = (int(x) for x in input().split())

while A > 0 and C > 0:
    C = C - B
    if C <= 0:
        print ("Yes")
    else:
        A = A - D
        if A <= 0:
            print ("No")
        else:
            continue

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

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

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

while a > 0:
  c -= b
  if c <= 0:
    print('Yes')
    break
  a -= d
  if a <= 0:
    print('No')
    break

Solution (Python):
import math
a=input().split()
Taka = math.ceil(float(a[2])/float(a[1]))
Aoki = math.ceil(float(a[0])/float(a[3]))
if Taka > Aoki:
    print('No')
else:
    print('Yes')

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

Takahasi = [A,B]
Aoki = [C,D]

while Aoki[0] > 0 and Takahasi[0] > 0:
    
    n = Aoki[0] - Takahasi[1]
    Aoki[0] = n
    
    if Aoki[0] <= 0:
        print("Yes")
        break    
    
    i = Takahasi[0] - Aoki[1]
    Takahasi[0] = i
    
    if Takahasi[0] <= 0:
        print("No")
        break

Solution (Python):
import math

def main(A, B, C, D):
    TAKAHASHI = math.ceil(C / B)
    AOKI = math.ceil(A / D)
    
    if TAKAHASHI <= AOKI:
        print('Yes')
    else:
        print('No')

if __name__ == '__main__':
    A, B, C, D = list(map(int, input().split()))
    main(A, B, C, D)

Solution (Python):
a, b, c, d= map(int, input().split())
x = -(-c // b)
y = -(-a // d)
if x <= y:
    print('Yes')
else:
    print('No')

Solution (Python):
"""def power(x, y): 
    res = 1
    x=x
    while (y > 0): 
        if ((y & 1) == 1) : 
            res = (res * x) 
        y = y >> 1
        x = (x * x)
    return res""" 
"""def fact(n):
    if(n==0):
        return 1
    if(n==1):
        return 1
    return fact(n-1)+fact(n-2)"""
 
import math

 
 


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

Solution (Python):
a,b,c,d=[int(i) for i in input().split()]
c=-(-c//b)
a=-(-a//d)
print("Yes" if c<=a else "No")

Solution (Python):
import math
(a, b, c, d) = tuple(map(int, input().split(" ")))
ad = math.ceil(a / d)
cb = math.ceil(c / b)
if ad < cb:
    print("No")
else:
    print("Yes")

Solution (Python):
A, B, C, D = list(map(int, input().split()))

t_count = A // D + (1 if A % D else 0)
a_count = C // B + (1 if C % B else 0)
ans = 'No' if t_count < a_count else 'Yes'

print(ans)

Solution (Python):
t_hp, t_atk, a_hp, a_atk = map(int, input().split())
while True:
    a_hp -= t_atk
    if a_hp <= 0: break
    t_hp -= a_atk
    if t_hp <= 0: break
print("Yes" if t_hp > 0 else "No")

Solution (Python):

ln = list(map(int, input().split(' ')))
thp = ln[0]
tatk = ln[1]
ahp = ln[2]
aatk = ln[3]
turn = 0
while thp>0 and ahp>0:
    if turn %2 == 0:
        ahp -= tatk
        turn += 1
    else:
        thp -= aatk
        turn += 1

if thp>0:
    print('Yes')
else:
    print('No')

Solution (Python):
A, B, C, D = list(map(lambda x: int(x), input().split(" ")))

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

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


E = int(C / B)
F = C % B

if C % B != 0 :
    E += 1

G = int(A / D)
H = A % D

if A % D != 0 :
    G += 1

if E > G:
    print('No')
else :
    print('Yes')

Solution (Python):
a, b, c, d = [int(tmp) for tmp in input().split()]
while(a > 0 and c > 0 ) :
  c -= b
  if(c <= 0 ) :
    print("Yes")
    break
  else :
    a-=d
    if(a<=0) :
      print("No")
      break

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


def battle(HP, attack):
    HP -= attack
    return HP


while A >= 0 or C >= 0:
    C = battle(C, B)
    if C <= 0:
        print("Yes")
        break
    A = battle(A, D)
    if A <= 0:
        print("No")
        break

Solution (Python):
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

if takahashi_attack > aoki_attack:
    print('No')
else:
    print('Yes')

Solution (Python):
a, b, c, d = map(int, input().split())
i = 1
while True:
    if a <= 0:
        print('No')
        break
    elif c <= 0:
        print('Yes')
        break
    if i % 2 == 0:
        a -= d
    else:
        c -= b
    i+=1

Solution (Python):
a,b,c,d=map(int,input().split())
A=(c+b-1)//b
B=(a+d-1)//d
if A<=B:
  print("Yes")
else:
  print("No")

Solution (Python):
A, B, C, D = map(int, input().split())
x = 0
while A > 0 and C > 0:
    if x % 2 == 0:
        C -= B
        x += 1
    else:
        A -= D
        x += 1
if C <= 0:
    print('Yes')
else:
    print('No')

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

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

Solution (Python):

a, b, c, d = map(int, input().split())
if a % d == 0:
    taka = a // d
else:
    taka = a // d + 1

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

if taka >= aoki:
    print("Yes")
else:
    print("No")