ZhenlongDai/ACPR huggingface dataset:
Problem: p02700
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
a,b,c,d=map(int,input().split())

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


Failing test case input:
139 11 4 17

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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

Problem: p02700
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
from math import ceil
a,b,c,d = map(int, input().split())
x = (a+d-1)/d
y = (b+c-1)/b
if (x>=y):
  print("Yes")
else:
  print("No")

Failing test case input:
46 4 40 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
from math import ceil
a,b,c,d = map(int, input().split())
x = ceil(a/d)
y = ceil(c/b)
if (x>=y):
  print("Yes")
else:
  print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

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

Failing test case input:
2 14 3 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c,d=map(int,input().split())
if(int((c+b-1)/b)<=int((a+d-1)/d)):
    print("Yes")     
else:
    print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A, B, C, D = [int(i) for i in input().split()]

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

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

Failing test case input:
7 7 1 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C, D = [int(i) for i in input().split()]
 
while A or C > 0:
  C -= B
  if C<=0:
    print('Yes')
    break
  A -= D
  if A<= 0:
    print('No')
    break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
t_hp, t_pwr, a_hp, a_pwr = map(int, input().split())

while True:
    a_hp -= t_pwr
    t_hp -= a_pwr

    if a_hp < 0:
        print("Yes")
        break
    elif t_hp < 0:
        print("No")
        break

Failing test case input:
10 9 10 10

Expected output:
No

Actual output:
Yes


Fixed submission (verdict: Accepted):
t_hp, t_pwr, a_hp, a_pwr = map(int, input().split())

while True:
    a_hp -= t_pwr
    t_hp -= a_pwr

    if a_hp <= 0:
        print("Yes")
        break
    elif t_hp <= 0:
        print("No")
        break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b ,c ,d = map(int, input().split())
def checkWinner(a, b, c, d):
    while(True):
        a = a - d
        c = c - b
        if(a <= 0):
            return('No')
        elif(c <= 0):
            return('Yes')
print(checkWinner(a, b, c, d))

Failing test case input:
2 14 3 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a, b ,c ,d = map(int, input().split())
def checkWinner(a, b, c, d):
    while(True):
        a = a - d
        c = c - b
        if(c <= 0):
            return('Yes')
        if(a <= 0):
            return('No')
print(checkWinner(a, b, c, d))
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
num = list(map(int, input().split())) 

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


Failing test case input:
10 9 9 10

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
num = list(map(int, input().split())) 

N=num[2]/num[1]

if(N==int(N)):
    N=int(N)-1
else:
    N=int(N)

if(N*num[3]<num[0]):
    print("Yes")
else:
    print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d=map(int, input().split())
while a>0 or c>0:
  c=c-b
  if c<=0:
    break
  a=a-d
if c<=0:
  print('Yes')
else:
  print('No')

Failing test case input:
10 9 13 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
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 c<=0:
  print('Yes')
else:
  print('No')

Problem: p02700
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
import sys
input = sys.stdin.readline
A, B, C, D = map(int, input().split())
t = 0
while A > 0 and (C > 0):
  if t % 2: A -= D
  else: C -= B
  t += 1
if A: print("Yes")
else: print("No")

Failing test case input:
34 4 40 5

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import sys
input = sys.stdin.readline
A, B, C, D = map(int, input().split())
t = 0
while A > 0 and (C > 0):
  if t % 2: A -= D
  else: C -= B
  t += 1
if A > 0: print("Yes")
else: print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d =map(int,input().split())
alife=a
blife=b
for i in range(101):
  blife=c-b
  if blife<=0:
      print("Yes")
      exit()
  alife=a-d
  if alife<=0:
      print("No")
      exit()

Failing test case input:
46 4 40 5

Expected output:
Yes

Actual output:

Fixed submission (verdict: Accepted):
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()

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math 
a,b,c,d=map(int,input().split())
print("Yes") if math.ceil(c/a)<=math.ceil(a/d) else print("No")

Failing test case input:
34 4 40 5

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import math 
a,b,c,d=map(int,input().split())
print("Yes") if math.ceil(c/b)<=math.ceil(a/d) else print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = map(int, input().split())
cb = c 
ad = a 
print('No' if (cb <= ad)  else 'Yes')

Failing test case input:
7 14 1 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
import math
a,b,c,d = map(int, input().split())
cb = math.ceil(c / b)
ad = math.ceil(a / d)
print('Yes' if (cb <= ad)  else 'No')
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c, d = map(int, input().split())
t = 0

while a > 0 and c > 0:
    if t % 2 == 0:
        c -= b
    else:
        a -= d
    t += 1

if a == 0:
    print("No")
else:
    print("Yes")

Failing test case input:
34 4 40 5

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c, d = map(int, input().split())
t = 0

while a > 0 and c > 0:
    if t % 2 == 0:
        c -= b
    else:
        a -= d
    t += 1

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

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C,D = map(int, input().split())
S = 0
while S != 1:
    C = C - B
    D = D - A
    if C <= 0:
        S = 1
        print("No")
    elif D <= 0:
        S = 1
        print("Yes")
    else:
        continue

Failing test case input:
280 20 0 2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A,B,C,D = map(int, input().split())
S = 0
while S != 1:
    C = C - B
    A = A - D
    if C <= 0:
        S = 1
        print("Yes")
    elif A <= 0:
        S = 1
        print("No")
    else:
        continue

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
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()
  

Failing test case input:
10 9 13 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
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()

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
List = input().split()
HP_T = int(List[0])
AT_T = int(List[1])
HP_A = int(List[2])
AT_A = int(List[3])
result = 0

Turn_T = HP_A/AT_T 
Turn_A = HP_T/AT_A 
print(Turn_T, Turn_A)
if Turn_T - Turn_A >= 0:
  result = "No"
else:
  result = "Yes"

print(result)

Failing test case input:
7 14 1 12

Expected output:
Yes


Actual output:
0.07142857142857142 0.5833333333333334
Yes


Fixed submission (verdict: Accepted):
import math
List = input().split()
HP_T = int(List[0])
AT_T = int(List[1])
HP_A = int(List[2])
AT_A = int(List[3])
result = 0

Turn_T = math.ceil(HP_A/AT_T)
Turn_A = math.ceil(HP_T/AT_A)
if Turn_T - Turn_A == 0:
  result = "Yes"  
if Turn_T - Turn_A < 0:
  result = "Yes"
if Turn_T - Turn_A > 0:
  result = "No"

print(result)

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = map(int,input().split())

cnt = 0
while (a >= 0 and c >= 0):
    if cnt % 2 == 0:
        c = c - b
    else:
        a = a - d
    cnt += 1

if c <= 0:
    print("Yes")
else:
    print("No")

Failing test case input:
10 9 10 10

Expected output:
No

Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c,d = map(int,input().split())

cnt = 0
while (a > 0 and c > 0):
    if cnt % 2 == 0:
        c = c - b
    else:
        a = a - d
    cnt += 1

if c <= 0:
    print("Yes")
else:
    print("No")
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c, d = list(map(int, input().split())) 
 
x = int((a+d-1)/d)
y = int((c+b-1)/b)
 
if a >= b:
  print("Yes")
elif b > a:
  print("No")

Failing test case input:
10 9 13 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c, d = list(map(int, input().split())) 
x = int((a+d-1)/d)
y = int((c+b-1)/b)
print("Yes" if x >= y  else "No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def main():
  A, B, C, D = map(int, input().split())
  print(A, C)
  while True:
    C -= B
    if C <= 0:
      print('Yes')
      break
    A -= D
    if A <= 0:
      print('No')
      break

if __name__ == '__main__':
  main()


Failing test case input:
139 8 1 17

Expected output:
Yes


Actual output:
139 1
Yes


Fixed submission (verdict: Accepted):
def main():
  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

if __name__ == '__main__':
  main()

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c, d = map(int, input().split())
p = 0
while(c > 0):
    c = c - b
    a = a - d
    if a == 0:
        p = 1
        break
if p == 1:
    print("No")
else:
    print("Yes")

Failing test case input:
5 9 13 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c, d = map(int, input().split())
p = 0


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

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c, d = map(int,input().split())

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

Failing test case input:
46 4 40 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
a, b, c, d = map(int,input().split())

if (a - 1) 
    print("Yes")
else : print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
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

Failing test case input:
43 8 0 1

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):
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
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import sys
input = sys.stdin.readline


def win_takahashi(A, B, C, D):

	for i in range(200):
		if i % 2 == 0:
			if B >= C:
				return True
			else:
				C -= B
		else:
			if D >= A:
				return False
			else:
				D -= A
			

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

if win_takahashi(A, B, C, D):
	print('Yes')
else:
	print('No')

Failing test case input:
34 4 40 5

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import sys
input = sys.stdin.readline


def win_takahashi(A, B, C, D):

	for i in range(300):
		if i % 2 == 0:
			C -= B
			
			if C <= 0:
				return True
		else:
			A -= D
			
			if A <= 0:
				return False
			

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

if win_takahashi(A, B, C, D):
	print('Yes')
else:
	print('No')

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
A, B, C, D = list(map(lambda x: int(x), input().split(" ")))
print("Yes") if math.ceil(A/D) > math.ceil(C/B) else print("No")

Failing test case input:
5 14 3 10

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
import math
A, B, C, D = list(map(lambda x: int(x), input().split(" ")))
print("Yes") if math.ceil(A/D) >= math.ceil(C/B) else print("No")

Problem: p02700
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
A, B, C, D = map(int, input().split())

while (1):
        if A <= 0 or B <= 0:
                break
        A -= D
        C -= B
if A != 0:
        print("Yes")
else:
        print("No")

Failing test case input:
309 8 1 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C, D = map(int, input().split())

while (1):
        C -= B
        if C <= 0:
                break
        A -= D
        if A <= 0:
                break

if 0 < A:
        print("Yes")
else:
        print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A, B, C, D = map(int,input().split())

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

Failing test case input:
46 4 40 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C, D = map(int,input().split())

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

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
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')


Failing test case input:
145 8 2 17

Expected output:
Yes


Actual output:
9 1
Yes


Fixed submission (verdict: Accepted):
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')
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
t_at, t_hp, a_at, a_hp = map(int, input().split())

while True:
  a_hp -= t_at
  if a_hp <= 0:
    print("Yes")
    exit()

  t_hp -= a_at
  if t_hp <= 0:
    print("No")
    exit()

Failing test case input:
34 4 40 5

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
t_hp, t_at, a_hp, a_at = map(int, input().split())

while True:
    a_hp -= t_at
    if a_hp <= 0:
        print("Yes")
        exit()

    t_hp -= a_at
    if t_hp <= 0:
        print("No")
        exit()

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d=map(int,input().split())
while a > 0:
  c=c-b
  if c<=0:
    print('Yes')
    break
 
  if a-d<=0:
    print('No')
    break


Failing test case input:
34 4 40 5

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
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

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C,D = map(int,input().split())

for i in range(10000):
    C -= B
    if C <= 0:
        print("Yes")
        break
    A -= D
    if B <= 0:
        print("No")
        break

Failing test case input:
34 4 40 5

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A,B,C,D = map(int,input().split())

for i in range(100000):
    C -= B
    if C <= 0:
        print("Yes")
        break
    A -= D
    if A <= 0:
        print("No")
        break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def inputlist():
    return [int(i) for i in input().split()]


def main():
    A, B, C, D = inputlist()
    boolTurnTaka = True
    while B > 0 and D > 0:
        if boolTurnTaka:
            D -= A
            boolTurnTaka = False
        else:
            B -= C
            boolTurnTaka = True

    if B <= 0:
        print("No")
    else:
        print("Yes")


if __name__ == '__main__':
    main()


Failing test case input:
34 4 40 5

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
def inputlist():
    return [int(i) for i in input().split()]


def main():
    A, B, C, D = inputlist()
    boolTurnTaka = True
    while A > 0 and C > 0:
        if boolTurnTaka:
            C -= B
            boolTurnTaka = False
        else:
            A -= D
            boolTurnTaka = True

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


if __name__ == '__main__':
    main()

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = map(int,input().split())
c -= b
while(a>0):
    c -= b
    a -= d
if c>0:
    print("Yes")
else:
    print("No")

Failing test case input:
309 8 4 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c,d = map(int,input().split())
c -= b
while(c>0):
    c -= b
    a -= d
if a>0:
    print("Yes")
else:
    print("No")
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
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
print('Yes' if A > 0 else 'No')

Failing test case input:
10 9 13 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
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')

Problem: p02700
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
A, B, C, D = map(int, input().split())

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

Failing test case input:
214 8 4 7

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C, D = map(int, input().split())

while (1):
        C -= B
        if C <= 0:
                break
        A -= D
        if A <= 0:
                break

if 0 < A:
        print("Yes")
else:
        print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = map(int,input().split())

taka = (int(c/b)) + (1 if c%b != 0 else 0)
aoki = (int(a/d)) + (1 if a%d != 0 else 0)

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

Failing test case input:
64 4 4 5

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c,d = map(int,input().split())

taka = (int(c/b)) + (1 if c%b != 0 else 0)
aoki = (int(a/d)) + (1 if a%d != 0 else 0)

if taka <= aoki:
  print('Yes')
else:
  print('No')

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
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)

Failing test case input:
79 6 0 10

Expected output:
Yes


Actual output:
YES


Fixed submission (verdict: Accepted):
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)

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d =map(int,input().split())
print('Yes'if (a%d+1)>=(c%b+1) else 'No')

Failing test case input:
309 8 1 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
import math
a,b,c,d =map(int,input().split())
print('Yes'if math.ceil(a/d)>=math.ceil(c/b) else 'No')
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
numbers = ["0"]*4
numbers = input().split(" ")
healthOfT = int(numbers[0])
strengthOfT = int(numbers[1])
healthOfA = int(numbers[2])
strengthOfA = int(numbers[3])
times_T_win = healthOfA
times_A_win = healthOfT
if times_T_win <= times_A_win:
	print("Yes")
else:
	print("No")

Failing test case input:
10 9 10 10

Expected output:
No

Actual output:
Yes


Fixed submission (verdict: Accepted):
import math

numbers = ["0"]*4
numbers = input().split(" ")
healthOfT = int(numbers[0])
strengthOfT = int(numbers[1])
healthOfA = int(numbers[2])
strengthOfA = int(numbers[3])
times_T_win = math.ceil(healthOfA/strengthOfT)
times_A_win = math.ceil(healthOfT/strengthOfA)
if times_T_win <= times_A_win:
	print("Yes")
else:
	print("No")

Problem: p02700
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
a, b, c, d = map(int, input().split())

for i in range(1,100):
    a = a - d
    c = c - b
    if a == 0 or c == 0:
        break
if c == 0:
    print("Yes")
else:
    print("No")

Failing test case input:
2 14 3 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a, b, c, d = map(int, input().split())

for i in range(101):
    c = c - b
    if c <= 0:
        print("Yes")
        break
    else:
        a = a - d
        if a <= 0:
            print("No")
            break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A, B, C, D = list(map(int, input().split()))

n = A 
m = C 
if n >= m:
    print("Yes")
else:
    print("No")

Failing test case input:
2 14 3 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
import math
A, B, C, D = list(map(int, input().split()))



n = math.ceil(A / D)
m = math.ceil(C / B)
if n >= m:
    print("Yes")
else:
    print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
a,b,c,d=map(int,input().split())

if math.floor(c/b) < math.floor(a/d):
    print("Yes")
else:
    print("No")


Failing test case input:
7 14 3 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
import math
a,b,c,d=map(int,input().split())

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

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = map(int, input().split())
print('Yes' if c%b<a%d else 'No')

Failing test case input:
153 14 0 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c,d = map(int, input().split())
print('Yes' if (-(-c
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

class Main:

    t1, a1, t2, a2= map(int,input().split());

    while(t1 <= t2 or t1 >= t2):
        if t2 <= 0:
            break;
        t2 -= a2;
        if t1 <= 0:
            break;
        t1 -= a1;
        
    if t1 >= t2:
        print("Yes");
    else:
        print("No")



Failing test case input:
5 13 3 10

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):

class Main:
    t1, a1, t2, a2= map(int,input().split());
    w = "t1"
    while t1 >= 0 or t2 >= 0:
        if t2 <= 0:
            w = "t1"
            break;
        t2 = t2 - a1;
        if t1 <= 0:
            w = "t2"
            break;
        t1 =  t1 - a2;

    if w == "t1":
        print("Yes");
    else:
        print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import sys
a,b,c,d = map(int,input().split())
a_life = c-b
t_life = a-d
if a_life<=0:
  print('Yes')
  sys.exit()
elif t_life<=0:
  print('No')
  sys.exit()


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

Failing test case input:
34 4 40 5

Expected output:
No


Actual output:
No
No
No
Yes


Fixed submission (verdict: Accepted):
import sys
a,b,c,d = map(int,input().split())
a_life = c-b
t_life = a-d
if a_life<=0:
  print('Yes')
  sys.exit()
elif t_life<=0:
  print('No')
  sys.exit()


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

Problem: p02700
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
A, B, C, D = map(int, input().split())

ans = ''
for i in range(100):
    if i%2 == 1:
        C -= B
    else:
        A -= C
    if A <= 0:
        ans = 'No'
        break
    else:
        ans = 'Yes'
        break

print(ans)

Failing test case input:
2 14 3 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C, D = map(int, input().split())

ans = ''
for i in range(200):
    if i%2 == 0:
        C -= B
    else:
        A -= D
    if A <= 0:
        ans = 'No'
        break
    elif C <= 0:
        ans = 'Yes'
        break

print(ans)

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):


a,b,c,d = map(int,input().split())
ans = 1
while ans:
    a = a - d
    c = c - b
    if a <= 0 or c <= 0:
        break

if a >= c:
    print('Yes')
elif a < c:
    print('No')


Failing test case input:
5 13 3 19

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):


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
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = map(int,input().split())

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

Failing test case input:
7 7 1 22

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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()

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C,D = map(int,input().split())

if C/B > A/D:
    print("No")
else:
    print("Yes")

Failing test case input:
46 4 40 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
A,B,C,D = map(int,input().split())

if -(-C
    print("No")
else:
    print("Yes")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a=list(map(int,input().split(" ")))
A=a[2]
B=a[0]
while True:
    A-=a[1]
    if A<0:
        print("No")
        break
    B-=a[3]
    if B<0:
        print("Yes")
        break


Failing test case input:
10 9 9 10

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a=list(map(int,input().split(" ")))
A=a[2]
B=a[0]
while True:
    A-=a[1]
    if A<=0:
        print("Yes")
        break
    B-=a[3]
    if B<=0:
        print("No")
        break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):









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



Failing test case input:
79 1 1 10

Expected output:
Yes


Actual output:
YES


Fixed submission (verdict: Accepted):









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

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c, d = map(int, input().split())
while a > 0 or c > 0:
  c -= b
  if c < 0:
    break
  a -= d
  
if a < c:
  print('No')
else:
  print('Yes')

Failing test case input:
10 9 10 10

Expected output:
No

Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c, d = map(int, input().split())
while a > 0 and c > 0:
  c -= b
  if c <= 0:
    break
  a -= d
  
if a < c:
  print('No')
else:
  print('Yes')
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
arr = list(map(int, input().split()))

TAKA = 0
AOKI = 1
PH = 0
PW = 1

user = [[arr[0], arr[1]], [arr[2], arr[3]]]

taka = user[TAKA]
aoki = user[AOKI]
uid = TAKA

while (taka[PH] > 0 and aoki[PH] > 0):
  user[(uid + 1) % 2][PH] -= user[uid][PW]
  print(user)
  uid = (uid + 1) % 2

  
result = 'No' if taka[PH] <= 0 else 'Yes'

Failing test case input:
237 14 0 1

Expected output:
Yes


Actual output:

Fixed submission (verdict: Accepted):
arr = list(map(int, input().split()))
 
TAKA = 0
AOKI = 1
PH = 0
PW = 1
 
user = [[arr[0], arr[1]], [arr[2], arr[3]]]
 
taka = user[TAKA]
aoki = user[AOKI]
uid = TAKA
 
while (taka[PH] > 0 and aoki[PH] > 0):
  user[(uid + 1) % 2][PH] -= user[uid][PW]
  uid = (uid + 1) % 2
 
  
result = 'No' if taka[PH] <= 0 else 'Yes'
print(result)

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b ,c ,d = map(int, input().split())
def checkWinner(a, b, c, d):
    while(True):
        a = a - d
        c = c - a
        if(a <= 0):
            return('No')
        if(c <= 0):
            return('Yes')
print(checkWinner(a, b, c, d))

Failing test case input:
7 14 1 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a, b ,c ,d = map(int, input().split())
def checkWinner(a, b, c, d):
    while(True):
        a = a - d
        c = c - b
        if(c <= 0):
            return('Yes')
        if(a <= 0):
            return('No')
print(checkWinner(a, b, c, d))

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d=map(int,input().split())

for i in range(1000) :
    a=a-d
    if a>0:
        c=c-d
        if c>0:
            continue
        else: 
            print('Yes')
            break
    else: 
        print('No')
        break


Failing test case input:
5 13 3 10

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c,d=map(int,input().split())

for i in range(1000) :
    c=c-b
    if c>0:
        a=a-d
        if a>0:
            continue
        else: 
            print('No')
            break
    else: 
        print('Yes')
        break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d=map(int,input().split())
for _ in range(100):
    a-=d
    c-=b
    if b<1:
        print("Yes")
        exit()
    if a<1:
        print("No")
        exit()

Failing test case input:
289 14 0 2

Expected output:
Yes


Actual output:

Fixed submission (verdict: Accepted):
a,b,c,d=map(int,input().split())
for _ in range(100):
    a-=d
    c-=b
    if c<1:
        print("Yes")
        exit()
    if a<1:
        print("No")
        exit()
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):


inputs = input().split(' ')

d = inputs[0:2]
takahashi = {'Name': 'Takahashi', 'Hp': int(d[0]), 'Power': int(d[1])}
d = inputs[2:4]
aoki = {'Name': 'Aoki', 'Hp': int(d[0]), 'Power': int(d[1])}

players = [aoki, takahashi]

def compute(players):
    N =len(players)
    while True:
        for i in range(N):
            players[i-1]['Hp'] -= players[i]['Power']
            if players[i-1]['Hp'] <= 0:
                if players[i]['Name'] == 'Takahashi':
                    print('Yes')
                else:
                    print('No')
                return 

compute(players)

Failing test case input:
7 7 1 22

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):


inputs = input().split(' ')

d = inputs[0:2]
takahashi = {'Name': 'Takahashi', 'Hp': int(d[0]), 'Power': int(d[1])}
d = inputs[2:4]
aoki = {'Name': 'Aoki', 'Hp': int(d[0]), 'Power': int(d[1])}

players = [takahashi, aoki]

def compute(players):
    N =len(players)
    while True:
        for i in range(N):
            players[i-1]['Hp'] -= players[i]['Power']
            if players[i-1]['Hp'] <= 0:
                if players[i]['Name'] == 'Takahashi':
                    print('Yes')
                else:
                    print('No')
                return 

compute(players)

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

import heapq
from collections import defaultdict, deque
from math import ceil, factorial, gcd
from itertools import accumulate
import sys
import bisect

sys.setrecursionlimit(10 ** 7)
INF = float("inf")
MOD = 10 ** 9 + 7

si = lambda: input().strip()
ii = lambda: int(input())
mii = lambda: map(int, input().split())
lmii = lambda: list(map(int, input().split()))
lmsi = lambda: list(map(str, input().split()))
smii = lambda: sorted(map(int, input().split()))



A, B, C, D = mii()

takahasi = True
while A > 0 and C > 0:
    if takahasi:
        C -= B
    else:
        A -= D
    takahasi = not takahasi

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

Failing test case input:
34 4 40 5

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):

import heapq
from collections import defaultdict, deque
from math import ceil, factorial, gcd
from itertools import accumulate
import sys
import bisect

sys.setrecursionlimit(10 ** 7)
INF = float("inf")
MOD = 10 ** 9 + 7

si = lambda: input().strip()
ii = lambda: int(input())
mii = lambda: map(int, input().split())
lmii = lambda: list(map(int, input().split()))
lmsi = lambda: list(map(str, input().split()))
smii = lambda: sorted(map(int, input().split()))



A, B, C, D = mii()

takahasi = True
while A > 0 and C > 0:
    if takahasi:
        C -= B
    else:
        A -= D
    takahasi = not takahasi

if A > 0:
    print('Yes')
else:
    print('No')
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C,D = map(int,input().split())
if A/D > C/B or B>=C or D<A :
  print('Yes')
else:
  print('No')


Failing test case input:
34 4 40 5

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A,B,C,D = map(int,input().split())
if -(-A
  print('Yes')
else:
  print('No')

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d=map(int,input().split())
while True:
    c-=b
    a-=d
    if a<=0:
        print("No")
        break
    else:
        print("Yes")
        break

Failing test case input:
5 13 3 19

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c, d = map(int, input().split())

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

Failing test case input:
172 8 0 1

Expected output:
Yes


Actual output:
171 -8
Yes


Fixed submission (verdict: Accepted):
a, b, c, d = map(int, input().split())

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

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S=list(map(int,input().split()))
while True:
  S[3]=S[3]-S[1]
  S[0]=S[0]-S[2]
  if S[3]<=0:
    print("No")
    break
  if S[1]<=0:
    print("No")
    break

Failing test case input:
309 8 0 2

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
S=list(map(int,input().split()))
while True:
  S[2]=S[2]-S[1]
  S[0]=S[0]-S[3]
  if S[2]<=0:
    print("Yes")
    break
  elif S[0]<=0:
    print("No")
    break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = map(int,input().split())
ta = 0
aok = 0
while True:
    ta = c-b
    c = ta
    print(c)
    if c <=0:
        print("Yes")
        break
    aok = a - d
    a = aok
    if a <=0:
        print("No")
        break
    print(a)
       

    



Failing test case input:
227 8 1 17

Expected output:
Yes


Actual output:
-7
Yes


Fixed submission (verdict: Accepted):
a,b,c,d = map(int,input().split())
ta = 0
aok = 0
while True:
    ta = c-b
    c = ta

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

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = input().split()
a,b,c,d = int(a),int(b),int(c),int(d)
while a>0 and c>0:
  c = c-b
  a = a-d
if a>=0:
  print("Yes")
else:
  print("No")
  

Failing test case input:
7 7 1 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c,d = input().split()
a,b,c,d = int(a),int(b),int(c),int(d)
while a:
  c = c-b
  if c<=0:
    break
  a = a-d
  if a<=0:
    break
if a>=0 and c<=0:
  print("Yes")
if a<=0 and c>=0:
  print("No")
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):



l = list(map(int, input().split()))
q = l[0]/l[3] 
w = l[2]/l[1] 
if q >= w:
  print("Yes")
else:
  print("No")

Failing test case input:
2 14 3 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
from math import ceil

l = list(map(int, input().split()))
q = ceil(l[0]/l[3])
w = ceil(l[2]/l[1] )
if w <= q:
  print("Yes")
else:
  print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d=map(int,input().split())

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

    a-=d
    print("No")



Failing test case input:
34 4 40 5

Expected output:
No


Actual output:
No
No
No
No
No
No
No


Fixed submission (verdict: Accepted):
a,b,c,d=map(int,input().split())

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

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
ta_AT,ta_HP,ao_AT,ao_HP = map(int,input().split())

while True:
    ao_HP -= ta_AT
    if ao_HP <= 0:
        print('Yes')
        break
    ta_HP -= ao_AT
    if ta_HP <= 0:
        print('No')
        break

Failing test case input:
10 9 10 10

Expected output:
No

Actual output:
Yes


Fixed submission (verdict: Accepted):
ta_HP,ta_AT,ao_HP,ao_AT = map(int,input().split())

while True:
    ao_HP -= ta_AT
    if ao_HP <= 0:
        print('Yes')
        break
    ta_HP -= ao_AT
    if ta_HP <= 0:
        print('No')
        break

Problem: p02700
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
a,b,c,d=map(int,input().split())
while a>0 or c>0:
  c-=b
  a-=d
if c<=0:
  print('Yes')
else:
  print('No')
  

Failing test case input:
10 9 13 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
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()

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C,D = map(int,input().split())
if B>=C or D<A :
  print('Yes')
else:
  print('No')

Failing test case input:
34 4 40 5

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A,B,C,D = map(int,input().split())
if -(-A
  print('Yes')
else:
  print('No')

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A, B, C, D = [int(x) for x in input().split()]
run = True
while run:
    C -= B
    if C <= 0:
        run = False
        result = "Yes"
        continue
    A -= D
    if A <= 0:
        run = False
        result = "No"
        continue

Failing test case input:
79 6 1 10

Expected output:
Yes


Actual output:

Fixed submission (verdict: Accepted):
A, B, C, D = [int(x) for x in input().split()]
run = True
while run:
    C -= B
    if C <= 0:
        run = False
        result = "Yes"
        continue
    A -= D
    if A <= 0:
        run = False
        result = "No"
        continue
print(result)
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = input().split()
A = int(a)
B = int(b)
C = int(c)
D = int(d)
for i in range(A):
    A = A - D
    B = B - C
    print(A)
    print(B)
    if A <= 0:
        print("No")
        break
    if B <= 0:
        print("Yes")
        break

Failing test case input:
366 15 4 17

Expected output:
Yes


Actual output:
349
11
332
7
315
3
298
-1
Yes


Fixed submission (verdict: Accepted):
a,b,c,d = input().split()
A = int(a)
B = int(b)
C = int(c)
D = int(d)
for i in range(A):
    C = C - B
    if C <= 0:
        print("Yes")
        break
    A = A - D
    if A <= 0:
        print("No")
        break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = map(int,input().split())
 
while b<1 or d<1:
  a = a - d
  if a<1:
      break
  c = c - b
  if c < 1:
      break
  
if a<0 or a==0:
  print("No")
else:
  print("Yes")

Failing test case input:
10 9 10 10

Expected output:
No

Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c,d = map(int,input().split())


 
while a>0 or c>0:
    c = c - b
    
    if c<1:
        
        break
    
    a = a - d
    
    if a < 1:

        break
    
   

  


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

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):


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


flag = 1

while A>0 and C>0:
    if flag == 1:
        C -= B
    else:
        A -= D
    
    flag = flag * (-1)

print( "Yes" if C == 0 else "No")


Failing test case input:
309 8 4 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):


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


flag = 1

while A>0 and C>0:
    if flag == 1:
        C -= B
    else:
        A -= D
    
    flag = flag * (-1)

print( "Yes" if A > 0 else "No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import sys
input = sys.stdin.readline


def win_takahashi(A, B, C, D):

	for i in range(300):
		if i % 2 == 0:
			C -= B
			
			if C <= 0:
				return True
		else:
			D -= A
			
			if A <= 0:
				return False
			

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

if win_takahashi(A, B, C, D):
	print('Yes')
else:
	print('No')

Failing test case input:
5 9 13 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import sys
input = sys.stdin.readline


def win_takahashi(A, B, C, D):

	for i in range(300):
		if i % 2 == 0:
			C -= B
			
			if C <= 0:
				return True
		else:
			A -= D
			
			if A <= 0:
				return False
			

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

if win_takahashi(A, B, C, D):
	print('Yes')
else:
	print('No')

Problem: p02700
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
from math import ceil
a,b,c,d = map(int, input().split())
x = (a+d-1)/d
y = (b+c-1)/b
if (x>=y):
  print("Yes")
else:
    print("No")

Failing test case input:
46 4 40 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
from math import ceil
a,b,c,d = map(int, input().split())
x = ceil(a/d)
y = ceil(c/b)
if (x>=y):
  print("Yes")
else:
  print("No")
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
input_line = input().split()
A = int(input_line[0])
B = int(input_line[1])
C = int(input_line[2])
D = int(input_line[3])
while (1):
    C -= B
    if C <= 0:
        print("Yes")
        break
    A -= D
    if A <= 0:
        print("no")
        break


Failing test case input:
34 4 40 5

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):

input_line = input().split()
A = int(input_line[0])
B = int(input_line[1])
C = int(input_line[2])
D = int(input_line[3])
while (1):
    C -= B
    if C <= 0:
        print("Yes")
        break
    A -= D
    if A <= 0:
        print("No")
        break

Problem: p02700
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
a,b,c,d = map(int,input().split())
while True:
  a -= d
  if a <= 0:
    print('No')
    break
  c -= b
  if b <= 0:
    print('Yes')
    break

Failing test case input:
43 8 0 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
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

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A_ini, B, C_ini, D = map(int, input().split())









C_rem = C_ini - B
A_rem = A_ini - D



if C_rem <= 0 and A_rem > 0:
  print('Yes')
elif C_rem <= 0 and A_rem <= 0:
  print('Yes')
elif C_rem > 0 and A_rem <= 0:
  print('No')
else:
  while C_rem > 0 and A_rem > 0 :
    C_rem = C_rem - B
    print(C_rem)
    if C_rem <= 0:
      print('Yes')
      break
    A_rem = A_rem - D
    if A_rem <= 0:
      print('No')
      break

Failing test case input:
46 4 40 5

Expected output:
Yes

Actual output:
32
28
24
20
16
12
8
4
0
Yes


Fixed submission (verdict: Accepted):
A_ini, B, C_ini, D = map(int, input().split())









C_rem = C_ini - B
A_rem = A_ini - D



if C_rem <= 0 and A_rem > 0:
  print('Yes')
elif C_rem <= 0 and A_rem <= 0:
  print('Yes')
elif C_rem > 0 and A_rem <= 0:
  print('No')
else:
  while C_rem > 0 and A_rem > 0 :
    C_rem = C_rem - B
    
    if C_rem <= 0:
      print('Yes')
      break
    A_rem = A_rem - D
    if A_rem <= 0:
      print('No')
      break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = map(int,input().split())
x=c/b
y=a/d
if x<=y:
  print("Yes")
elif x>y:
  print("No")

Failing test case input:
2 14 3 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
import math
a,b,c,d = map(int,input().split())
x=c/b
y=a/d
x=math.ceil(x)
y=math.ceil(y)
if x<=y:
  print("Yes")
else:
  print("No")
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
numbers = input().split(" ")
healthOfT = int(numbers[0])
strengthOfT = int(numbers[1])
healthOfA = int(numbers[2])
strengthOfA = int(numbers[3])
times_T_win = healthOfA
times_A_win = healthOfT
if times_T_win <= times_A_win:
	print("Yes")
else:
	print("No")
 

Failing test case input:
10 9 10 10

Expected output:
No

Actual output:
Yes


Fixed submission (verdict: Accepted):
import math

numbers = ["0"]*4
numbers = input().split(" ")
healthOfT = int(numbers[0])
strengthOfT = int(numbers[1])
healthOfA = int(numbers[2])
strengthOfA = int(numbers[3])
times_T_win = math.ceil(healthOfA/strengthOfT)
times_A_win = math.ceil(healthOfT/strengthOfA)
if times_T_win <= times_A_win:
	print("Yes")
else:
	print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c, d = map(int, input().split())

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

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


Failing test case input:
46 4 40 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
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")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A, B, C, D= map(int, input().split())
while A or C>0:
    A-=D
    C-=B
    if(A or C<=0):
        break
if(C<=0):
    print('No')
else:
    print('Yes')

Failing test case input:
172 8 0 2

Expected output:
Yes


Actual output:
No


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

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math

A, B, C, D = map(int, input().split())
if math.ceil(C / B) <= math.ceil(A / D):
    print("yes")
else:
    print("No")

Failing test case input:
350 16 4 7

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):
import math

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

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c, d = map(int, input().split())

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


Failing test case input:
218 13 0 2

Expected output:
Yes


Actual output:
YES


Fixed submission (verdict: Accepted):
a, b, c, d = map(int, input().split())

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