TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: 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`.

Submission attempts (in order):
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())

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)

Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
A ,B ,C ,D = map(int,input().split())
turn = 0
if A%C == 0:
    turn = A/D
else:
    turn = (A//D) +1
if B * (turn+1) > C:
    print("Yes")
else:
    print("No")

A ,B ,C ,D = map(int,input().split())
turn = 0
if A%D == 0  :
    turn = A/D -1
else:
    turn = A//D
if B * (turn+1) >= C:
    print("Yes")
else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
A, B, C, D = map(int, input().split())

m = A // D 
n = C // B 

if m >= n:
    print('Yes')
else:
    print('No')


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

m = A//D
n = B//C

if m>n :
    print('Yes')
else:
    print('No')


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

m = C // B  
if C % B != 0:
    m = m + 1

n = A // D  
if A % D != 0:
    n = n + 1

if n >= m:
    print('Yes')
else:
    print('No')


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
P =  list(map(int,input().split()))
A = P[0]
B = P[1]
C = P[2]
D = P[3]

i = 0
j = 0
while C <= 0:
    C-=B
    i +=1
    
while A <= 0:    
    A-=D
    j+=1
if i > j:
    print('No')
else:
    print('Yes')
    

import math
P =  list(map(int,input().split()))
A = P[0]
B = P[1]
C = P[2]
D = P[3]

p = math.ceil(C/B)
q = math.ceil(A/D)
    

if p <= q:
    print('Yes')
else:
    print('No')

Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
a, b, c, d = map(int, input().split())

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

if a<=0 and c<=0:
    print("Yes")

elif a<=0:
    print("No")

else:
    print("Yes")

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

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

if a<=0 and c<=0:
    print("Yes")

elif a<=0:
    print("No")

else:
    print("Yes")

Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
# -*- coding: utf-8 -*-
A, B, C, D = map(int, input().split())
lifeT = A
lifeA = C
battle_num = 0

while lifeA > 0 or lifeT > 0:
    battle_num = battle_num + 1
    if battle_num % 2 != 0:
        lifeA = lifeA - B
    else:
        lifeT = lifeT - D

    if lifeA == 0 or lifeT == 0:
        break

else:
    if battle_num % 2 != 0:
        print("Yes")
    else:
        print("No")


# -*- coding: utf-8 -*-
A, B, C, D = map(int, input().split())
lifeT = A
lifeA = C

for battle_num in range(1, 100):
    if battle_num % 2 != 0:
        lifeA = lifeA - B
    else:
        lifeT = lifeT - D

    if lifeA <= 0 or lifeT <= 0:
        break

if battle_num % 2 != 0:
    print("Yes")
else:
    print("No")


Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
# B Battle

import math

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

t_kill_a = math.ceil(C / B)
a_kill_t = math.ceil(A / D)

if t_kill_a >= a_kill_t:
  print("Yes")
else:
  print("No")

# B Battle

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

t_kill_a = C // B
a_kill_t = A // D

if C % B != 0:
  t_kill_a += 1
if A % D != 0:
  a_kill_t += 1

if t_kill_a <= a_kill_t:
  print("Yes")
else:
  print("No")

Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
A, B, C, D = [int(x) for x in input().split()]
s = C // B
t = A // D
if s <= t:
  print("Yes")
else:
  print("No")

A, B, C, D = [int(x) for x in input().split()]
s = C // B
if C % B != 0:
  s += 1
t = A // D
if A % D != 0:
  t += 1
if s <= t:
  print("Yes")
else:
  print("No")

Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):

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

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


Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
a,b,c,d=map(int,input().split())
n=1
while c-b*n>0 and a-d*n>0
    n+=1
if c-b*(n+1)<=a-d*(n+1):
    print('Yes')
else:
    print('No')

a,b,c,d=map(int,input().split())
n=1
while c-b*n>0 and a-d*n>0:
    n+=1
if c-bn<=0:
    print('Yes')
else:
    print('No')

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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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`.

Submission attempts (in order):
N = input().split(" ")
TL = int(N[0])
TA = int(N[1])
AL = int(N[2])
AA = int(N[3])
a = 0

while a == 0:
  AL = AL - TA
  if AL <= 0:
    a = 1
    break
  TA = TA - AA
  if TL <= 0:
    a = 2
    break
if a == 1:
  print("Yes")
elif a == 2:
  print("No")


N = input().split(" ")
TL = int(N[0])
TA = int(N[1])
AL = int(N[2])
AA = int(N[3])
a = 0

while a = 0:
  AL = AL - TA
  if AL <= 0:
    a = 1
    brake
  TA = TA - AA
  if TA <= 0:
    a = 2
    brake
if a = 1:
  print("Yes")
if a = 2:
  print("No")

N = input().split(" ")
TL = int(N[0])
TA = int(N[1])
AL = int(N[2])
AA = int(N[3])
a = 0

while a == 0:
  AL = AL - TA
  if AL <= 0:
    a = 1
    break
  TL = TL - AA
  if TL <= 0:
    a = 2
    break
if a == 1:
  print("Yes")
elif a == 2:
  print("No")


Verdicts: Time Limit Exceeded

Runtime Error

Accepted
Problem: 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`.

Submission attempts (in order):
a, b, c, d = map(int, input().split())
ac = int(a / d + 1)
bc = int(c / b + 1)
 
if ac >= bc:
    print('Yes')
else:
    print('No')

a, b, c, d = map(int, input().split())
ac = int(a / d + 1)
bc = int(c / b + 1)

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


a, b, c, d = map(int, input().split())
ac = int(a / d + 1)
bc = int(c / b + 1)

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


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')

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
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')

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()

Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
def main():
    A, B, C, D = map(int, input().split(' '))
    if C - B * (int(A / D) + 1) <= 0:
        print('Yes')
    else:
        print('No')
main()

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

Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
a,b,c,d=map(int,input().split())
tak=c/b
ai=a/d
if tak>=ai:
  print("Yes")
else:
  print("No")


a,b,c,d=map(int,input().split())
if c%b==0:
  tak = c/b
elif c/b<1:
  tak = 1
else:
  tak = c//b +1
if a%d ==0:
  ai = a/d
elif a/d<1:
  ai = 1
else:
  ai=a//d +1
if tak<=ai:
  print("Yes")
else:
  print("No")


Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
a,b,c,d=map(int,input().split())
print("Yes" if c//b<=a//d else "No")

a,b,c,d=map(int,input().split())
print("Yes" if c//b+c%b>0<=a//d+a%d>0 else "No")

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

a,b,c,d=map(int,input().split())
print("Yes" if (c//b+c%b>0)<=(a//d+a%d>0) else "No")

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

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

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

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

Verdicts: Wrong Answer

Wrong Answer

Runtime Error

Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: 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`.

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

a,b,c,d=map(int,input().split())
s=0
while (a>0 and c>0) or s==1:
    c=c-b
    if c<=0:
        s+=1
    else:
        a=a-d
if a<=0:
    print("No")
elif c<=0:
    print("Yes")

Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
tt,ta,at,aa=map(int,input().split())
 
for i in range(100):
 if at-ta>0:
    at-=ta
 elif at-ta<=0:
    print("Yes")
 elif tt-aa>0:
     tt=-aa
 elif tt-aa<=0:
    print("No")

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()

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
 elif tt-aa>0:
    pass
 elif tt-aa<=0:
    print("No")

ta,tt,aa,at=map(int,input().split())
 
for i in range(100):
 if at-tt>0:
    at-=tt
 elif at-tt=<0:
    print("Yes")
 elif tt-aa>0:
     tt=-aa
 elif tt-aa=<0:
    print("No")

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
 elif tt-aa>0:
    pass
 elif tt-aa<=0:
    print("No")
    exit()

ta,tt,aa,at=map(int,input().split())

while True:
 if at-tt>0:
    at-=tt
 elif at-tt<0:
    print("Yes")
 elif tt-aa>0:
     tt=-aa
 elif tt-aa<0:
    print("No")

ta,tt,aa,at=map(int,input().split())
 
for i in range(100):
 if at-tt>0:
    at-=tt
 elif at-tt<=0:
    print("Yes")
 elif tt-aa>0:
     tt=-aa
 elif tt-aa<=0:
    print("No")

ta,tt,aa,at=map(int,input().split())
 
for i in range(100):
 if at-tt>0:
    at-=tt
 elif at-tt<=0:
    print("Yes")
 elif tt-aa>0:
     tt-=aa
 elif tt-aa<=0:
    print("No")

tt,ta,at,aa=map(int,input().split())
 
for i in range(100):
 at-=ta 
 if at>0:
    pass
 elif at<=0:
    print("Yes")
    exit()
 tt-=aa
 if tt>0:
    pass
 elif tt<=0:
    print("No")
    exit()

Verdicts: Wrong Answer

Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Time Limit Exceeded

Wrong Answer

Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
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 sys
sys.setrecursionlimit(10**6)
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 sys
sys.setrecursionlimit(10**6)
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

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
A, B, C, D = map(int, input().split())
if (C//B) + 1> (A//D)+1:
  print('No')
else:
  print('Yes')

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

Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
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_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=int(C/B)
ansC=int(A/D)

if C%B!=0:
    ansA=ansA+1
if A%D!=0:
    ansC=ansC+1
    
if ansA<=ansC:
    print("Yes")
else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
a, b, c, d = map(int, input().split())

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




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

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




Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
a, b, c, d = map(int,input().split())
cnt = 0
while a < 0 or c < 0:
  if cnt%2==0:
    c -= a
  else:
    b -= d
  cnt += 1
if a < 0:
  print("No")
else:
  print("Yes")

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 a < 0:
  print("No")
else:
  print("Yes")


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 a <= 0:
  print("No")
else:
  print("Yes")


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
a,b,c,d=map(int,input().split())
if a/d>c/b:
    print('Yes')
elif a/d+1=c/b:
    if c%d==0:
        print('Yes')
    else:
        print('No')
else:
    print('No')

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

if a/d>c/b:
    print('Yes')
elif a/d==c/b:
	if c/b>0 and a/d==0
		print('No')
	else:
    	print('Yes')
elif a/d+1==c/b:
    if c%b==0 and a%d!=0:
        print('Yes')
    else:
        print('No')
else:
    print('No')

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

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

a,b,c,d=map(int,input().split())
x=a//d
y=c//b
if y<x:
    print('Yes')
elif y==x:
    if c%b==0:
        print('Yes')
    else:
        if a%d==0:
            print('No')
        else:
            print('Yes')
            
elif y==x+1:
    if c%b==0:
        print('Yes')
    else:
        print('No')
            
else:
    print('No')

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: 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`.

Submission attempts (in order):
A, B, C, D = map(int, input().split())

while A or C > 0:
    aoki_hitpoint = C - B
    if aoki_hitpoint <= 0:
        print("Yes")
    else:
        C = aoki_hitpoint

    takahashi_hitpoint = A - D
    if takahashi_hitpoint <= 0:
        print("No")
    else:
        A = takahashi_hitpoint

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

while A or C > 0:
    aoki_hitpoint = C - B
    if aoki_hitpoint <= 0:
        C = 0
        print("Yes")
        exit()
    else:
        C = aoki_hitpoint

    takahashi_hitpoint = A - D
    if takahashi_hitpoint <= 0:
        print("No")
        A = 0
        exit()
    else:
        A = takahashi_hitpoint

Verdicts: Time Limit Exceeded

Accepted
Problem: 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`.

Submission attempts (in order):
ABCD = list(map(int, input().split()))
A = ABCD[0]
B = ABCD[1]
C = ABCD[2]
D = ABCD[3]
if B%C != 0:
    if D*(B//C) >= A:
        print('No')
    else:
        print('Yes')
else:
    if D*(B//C - 1) >= A:
        print('No')
    else:
        print('Yes')

ABCD = list(map(int, input().split()))
A = ABCD[0]
B = ABCD[1]
C = ABCD[2]
D = ABCD[3]
if C%B != 0:
    if D*(C//B) >= A:
        print('No')
    else:
        print('Yes')
else:
    if D*(B//C - 1) >= A:
        print('No')
    else:
        print('Yes')

Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
def round_up(x):
    if x>int(x):
        return int(x)+1
    else:
        return int(x)
a,b,c,d=map(int,input().split())
m,n=round_up(a/b),round_up(c/d)
print('No' if m<n else 'Yes')

def round_up(x):
    if x>int(x):
        return int(x)+1
    else:
        return int(x)
a,b,c,d=map(int,input().split())
m,n=round_up(c/b),round_up(a/d)
print(m)
print(n)
print('No' if m>n else 'Yes')

def round_up(x):
    if x>int(x):
        return int(x)+1
    else:
        return int(x)
a,b,c,d=map(int,input().split())
m,n=round_up(c/b),round_up(a/d)

print('No' if m>n else 'Yes')


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
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=list(map(int,input().split()))

tcnt=c//b
acnt=a//d

if tcnt<=acnt:
	print("Yes")
else:
	print("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

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
A,B,C,D=map(int,input().split( ))

while A and C !=0:
    C= abs(C-B)
    if C==0:
        print("YES")
    A= abs(A-D)
    if A==0:
        print("NO")

A,B,C,D=map(int,input().split())
 
while True:
    C= abs(C-B)
    if C<=0:
        print("YES")
        break
    A= abs(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())

while A and C !=0:
    C= abs(C-B)
    if C==0:
        print("YES")
    A= abs(A-D)
    if A==0:
        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


Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):

tairyoku_A, kougeki_B,tairyoku_C,kougeki_D = map(int, input().split())

one = int(tairyoku_A /kougeki_D)
two = int(tairyoku_C /kougeki_B)


if(one>two):
  print("Yes")
elif(one<two):
  print("No")
else:
  print("Yes")


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_a - B
  count_c = count_c +1
  
if(count_a>=count_c):
  print("Yes")
else:
  print("No")


tairyoku_A, kougeki_B,tairyoku_C,kougeki_D = map(int, input().split())

one = int(tairyoku_A /kougeki_D)
two = int(tairyoku_C /kougeki_B)


if(one>two):
  print("Yes")
elif:
  print("No")
else:
  print("Yes")


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
  #print(count_a,":",ans_a)

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



Verdicts: Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: 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`.

Submission attempts (in order):
A, B, C, D = map(int, input().split())

while True:
    C = C - A

    if C <= 0:
        print('Yes')
        break

    B = B - D

    if B <= 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


Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
A, B, C, D = [int(n) for n in input().split(' ')]

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

A, B, C, D = [int(n) for n in input().split(' ')]
 
while True:
  C -= B
  if C <=0:
    print("Yes")
    break
  A-=D
  if A<=0:
    print("No")
    break

Verdicts: Runtime Error

Accepted
Problem: 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`.

Submission attempts (in order):
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()


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()


Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
A,B,C,D = map(int,input().split())
while A > 0 and C > 0:
  C -= B
  if C <= 0:
    break
  A -= D
  print(A,C)
if A <= 0:
  print('No')
else:
  print('Yes')

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

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')
else:
  print('Yes')

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
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
if a <= 0:
  print('No')
else:
  print('Yes')

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

Verdicts: Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
while True:
    C -= B
    A -= D
    if A<=0:
        print('No')
        break
    elif C<=0:
        print('Yes')
        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

Verdicts: Runtime Error

Accepted
Problem: 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`.

Submission attempts (in order):
a, b, c, d = map(int, input().split())

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

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

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


A,B,C,D=map(int,input().split())
while True:
    C=C-B
    if(C<=0):
        print('Yes')
        exit()
    A=A-D
    if(A<=0):
        print('No')
        exit()


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: 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`.

Submission attempts (in order):
LI = lambda: list(map(int,input().split()))
MI = lambda: map(int,input().split())
yes = lambda: print("Yes")
no = lambda: print("No")
I = lambda: list(input())
J = lambda x: "".join(x)
II = lambda: int(input())
SI = lambda: input()
#---khan17---template
a,b,c,d = MI()
yes() if c//b<=a//d else no()

LI = lambda: list(map(int,input().split()))
MI = lambda: map(int,input().split())
yes = lambda: print("YES")
no = lambda: print("NO")
I = lambda: list(input())
J = lambda x: "".join(x)
II = lambda: int(input())
SI = lambda: input()
#---khan17---template
a,b,c,d = MI()
yes() if d//a<=b//c else no()

LI = lambda: list(map(int,input().split()))
MI = lambda: map(int,input().split())
yes = lambda: print("Yes")
no = lambda: print("No")
I = lambda: list(input())
J = lambda x: "".join(x)
II = lambda: int(input())
SI = lambda: input()
#---khan17---template
a,b,c,d = MI()
yes() if d//b<=a//c else no()

LI = lambda: list(map(int,input().split()))
MI = lambda: map(int,input().split())
yes = lambda: print("YES")
no = lambda: print("NO")
I = lambda: list(input())
J = lambda x: "".join(x)
II = lambda: int(input())
SI = lambda: input()
#---khan17---template
a,b,c,d = MI()
if a>c:
	yes()
elif a == c:
	if b>d:
		yes()
	else:
		no()
else:
	no()

LI = lambda: list(map(int,input().split()))
MI = lambda: map(int,input().split())
yes = lambda: print("Yes")
no = lambda: print("No")
I = lambda: list(input())
J = lambda x: "".join(x)
II = lambda: int(input())
SI = lambda: input()
#---khan17---template
a,b,c,d = MI()
while(a == 0 and c == 0):
	c-=b
	if c<=0:
		yes()
		break
	a-=d
	if a<=0:
		no()
		break

LI = lambda: list(map(int,input().split()))
MI = lambda: map(int,input().split())
yes = lambda: print("Yes")
no = lambda: print("No")
I = lambda: list(input())
J = lambda x: "".join(x)
II = lambda: int(input())
SI = lambda: input()
#---khan17---template
a,b,c,d = MI()
while(a > 0 and c >0):
	c-=b
	if c<=0:
		yes()
		break
	a-=d
	if a<=0:
		no()
		break

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Accepted