Problem:


Score : 200 points

Problem Statement

Takahashi and Aoki will have a battle using their monsters.

The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively.

The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ...
Here, an attack decreases the opponent's health by the value equal to the attacker's strength.
The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins.

If Takahashi will win, print Yes; if he will lose, print No.

Constraints

1 \leq A,B,C,D \leq 100

All values in input are integers.

Input

Input is given from Standard Input in the following format:

A B C D

Output

If Takahashi will win, print Yes; if he will lose, print No.

Sample Input 1

10 9 10 10

Sample Output 1

No

First, Takahashi's monster attacks Aoki's monster, whose health is now 10-9=1.

Next, Aoki's monster attacks Takahashi's monster, whose health is now 10-10=0.

Takahashi's monster is the first to have 0 or less health, so Takahashi loses.

Sample Input 2

46 4 40 5

Sample Output 2

Yes



Sample input:
10 9 10 10


Sample output:
No

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
DB = C//B
CA = A//D
if DB < CA:
    print('No')
elif CA < DB:
    print('Yes')
else:
    if C%B > 0:
        print('No')
    else:
        print('Yes')

Submission status: Wrong Answer

Solution code:
ha, sa, hb, sb = map(int, input().split())
while True:
    ha = ha - sb
    if ha <= 0:
        print('No')
        break
    hb = hb - sa
    if hb <= 0:
        print('Yes')

Submission status: Wrong Answer

Solution code:
A,B,C,D=map(int, input().split())
sho1 = C//B
sho2 = A//D

if sho2+1 > sho1:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
flg = True
while a >= 0 and c >= 0:
    if flg:
        c -= b
    else:
        a -= d
    flg = not flg

print("Yes") if flg else print("No")

Submission status: Wrong Answer

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

print(a,b,c,d)

x = c/b
y = a/d

if x > int(x):
    x+=1
    x=int(x)
if y > int(y):
    y+=1
    y=int(y)
print(x)
print(y)
if x <= y:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

#高橋　→　青木
# takahashi = a // d
# aoki = c // b


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

takahashi = a
aoki = c

for i in range(100):
    if i%2 == 0:
        aoki -= b
    else:
        takahashi -= d

    if takahashi <= 0:
        print('No')
        break
    elif aoki <= 0:
        print('Yes')
        break
    elif takahashi == 0 and aoki == 0:
        print('No')
        break

Submission status: Wrong Answer

Solution code:
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))

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int, input().split())
timea = a//d
timeb = c//b
if timea >= timeb:
    print("Yes")
    exit()
print("No")

Submission status: Wrong Answer

Solution code:
A, B, C, D = list(map(int, input().split()))
t1 = A // D + int(A % D)
t2 = C // B + int(C % B)
print("Yes" if t2 <= t1 else "No")

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
if A-C < 0:
    print("No")
    if B-D < 0:
        print("No")
else:
        print("Yes")

Submission status: Wrong Answer

Solution code:
a , b , c , d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)
 
result = ""
while True :
	c -= b
	if c <= 0 :
		result ="Yse"
		break
		
	a -= d
	if a <= 0 :
		result = "No"
		break
print(result)

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
if 1 <= A <= 1000 and 1 <= B <= 1000 and 1 <= C <= 1000 and 1 <= D <= 1000 and D%A >= B%C :
  print ("Yes")
if 1 <= A <= 1000 and 1 <= B <= 1000 and 1 <= C <= 1000 and 1 <= D <= 1000 and D%A < B%C :
  print ("No")

Submission status: Wrong Answer

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

if int(A) + 1//(int(D)*2) >= int(C) + 1//(int(B)**2):
    print('Yes')

else:
    print('No')

Submission status: Wrong Answer

Solution code:
def ceiling(a, b):
    return (a + b - 1) / a

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
input = stdin.readline

import sys

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

if C - B <= 0:
    print("yes")
    sys.exit()
elif A - D <= 0:
    print("No")
    sys.exit()

aoki = C - B
taka = A - D

for i in range(100):
    aoki -= B
    if aoki <= 0:
        print("Yes")
        break
    
    taka -= D
    if taka <= 0:
        print("No")
        break

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
A, B, C, D =  map(int, input().split())
x = A
y = C
T_count = 0 
A_count = 0
for i in range(100):
    x = x-C
    if x >= 0:
        T_count += 1 
    else:T_count += 0

for j in range(100):
    y = y-A
    if y >= 0:
        A_count += 1 
    else:A_count += 0

if T_count <= A_count:
    print('Yes')
else:print('No')

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, raw_input().split())
turn = 0
while a > 0 and b > 0 and c > 0 and d > 0:
  if turn == 0:
    max1 = max(a, b)
    if c > d:
      c -= max1
    else:
      d -= max1
      
  else:
    max1 = max(c, d)
    if a > b:
      a -= max1
    else:
      b -= max1
  turn = 1-turn
  
if a > 0 and b > 0:
  print 'Yes'
else:
  print 'No'

Submission status: Wrong Answer

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


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C,D=map(int,input().split())
s=0
t=0
while A>=0:
  A-=D
  s+=1
while C>=0:
  C-=B
  t+=1
if s<t:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

takahashi = 0
aoki = 0

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

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

print(takahashi)
print(aoki)

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

Submission status: Wrong Answer

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

def battle(H,A):
    count = 0
    while H > 0:
        count += 1
        H -= A
    return count

t = battle(A,D)
a = battle(C,B)
if t < a:
    print("No")
else:
    print("yes")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


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


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

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int,input().split())
#a c hp
#b d atk
t_n = c // b
a_n = a // d
t_r = c % b
a_r = a % d
if  (t_r > 0 and a_r > 0) or (a_r > 0) or (t_r == 0 and a_r == 0):
  if t_n >= a_n:
    print('YES')
  else:
    print('NO')
else:
  if t_n >= a_n:
    print('YES')
  else:
    print('NO')

Submission status: Wrong Answer

Solution code:
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')
        if(c <= 0):
            return('Yes')
print(checkWinner(a, b, c, d))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
A, B, C, D =  map(int, input().split())
x = A
y = C
T_count = 0 
A_count = 0
for i in range(100):
    x = x-C
    if x >= 0:
        T_count += 1 
    else:T_count += 0

for j in range(100):
    y = y-A
    if y >= 0:
        A_count += 1 
    else:T_count += 0

if T_count <= A_count:
    print('Yes')
else:print('No')

Submission status: Wrong Answer

Solution code:
class monster:

    def __init__(self, hp, ap):
        self.hp = hp
        self.ap = ap


def battle(player1, player2):
    while player1.hp <= 0:
        attack(player1, player2)
        if player2.hp <= 0:
            return 'Yes'
        attack(player2, player1)
        if player1.hp <= 0:
            return 'No'
    return 'No'

def attack(attacker, receiver):
    receiver.hp -= attacker.ap


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

print(battle(takahashi, aoki))

Submission status: Wrong Answer

Solution code:
A,B,C,D = map(int,input().split())
Alife = int(C/B) + 1
Tlife = int(A/D) + 1
if Alife > Tlife:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
a,b,c,d=[int(i)for i in input().split()]
A=a//d
B=c//b
if A>=B:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
def win():
  A,B,C,D = map(int,input().split())
  for i in range(1,100):
    A = A - D
    B = B - C
  if A<=0:
      return("Yes")
  else:
      return("No")

print(win())

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-


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

    print(result)


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import sys

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


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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
l = [int(x) for x in input().split()]
A, B, C, D = l[0], l[1], l[2], l[3]

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


if aoki > takahashi:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
T = A//D+A%D
O = C//B+C%B

if T-O >=0:
    print('Yes')
else: print('No')

Submission status: Wrong Answer

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

x = C / B
y = A / D

if x - 1 <= y:
    print('Yes')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
A=list(map(int,input().split()))
aoki = A[2]-A[1]
taka = A[0]-A[3]
if aoki<=0 or taka>aoki:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
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')
        elif(c <= 0):
            return('Yes')
print(checkWinner(a, b, c, d))

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int,input().split())
for i in range(200):
    if c-b <= 0:
        print("yes")
        break
    elif  a-d <= 0:
        print("No")
        break
    else:
        a = a-d
        c = c-b

Submission status: Wrong Answer

Solution code:
A, B, C, D =  map(int, input().split())
x = A
y = C
T_count = 0 
A_count = 0
for i in range(100):
    x = x-C
    if x >= 0:
        T_count += 1 
    else:T_count += 0

for j in range(100):
    y = y-A
    if x >= 0:
        A_count += 1 
    else:T_count += 0
    
if T_count <= A_count:
    print('Yes')
else:print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Takalifec = int(A / D)
Aolifec = int(C / B)
maxv = max(Takalifec,Aolifec)
for i in range(0,maxv):

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

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

Submission status: Wrong Answer

Solution code:
h1,s1,h2,s2=map(int,input().split())
while True:
    h1-=s2
    if h1<=0:
        print('No')
        break
    h2-=s1
    if h2<=s1:
        print('Yes')
        break

Submission status: Wrong Answer

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



Thit = A
Tatk = B
Ahit = C
Aatk = D
win = False

while Thit <= 0 or Ahit <= 0:
    Ahit = Ahit - Tatk
    if Ahit <= 0:
        win = True
        break
    Thit = Thit - Aatk
    if Thit <= 0:
        win = False
        break

if win:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
A,B,C,D = map(int,input().split())
Alife = int(C/B) + 1
Tlife = int(A/D) + 1
if Alife < Tlife:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
A,B,C,D=map(int,input().split())
while A>=0 or C>=0:
    A=A-D
    C=C-B

if A<=0 and C<=0:
    print("Yes")
elif A<=0:
    print("Yes")
elif B<=0:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

#print(a,b,c,d)
while((a or c) > 0):
    c -= b
    a -= d
    #print(a,c)

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

Submission status: Wrong Answer

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

Takahasi = A / D
Aoki = C / B

if D >= A:
    print('No')
elif Takahasi <= Aoki:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
print('Yes' if a/d+int(bool(a%d)) >= c/b+int(bool(c%b)) else 'No')

Submission status: Wrong Answer

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

#高橋　→　青木
# takahashi = a // d
# aoki = c // b


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

takahashi = a
aoki = c

for i in range(100):
    if i%2 == 0:
        aoki -= b
    else:
        takahashi -= d

    if takahashi <= 0:
        print('No')
        break
    elif aoki <= 0:
        print('Yes')
        break
    elif takahashi == 0 and ao0ki == 0:
        print('No')
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(ans)

Submission status: Wrong Answer

Solution code:
A,B,C,D = map(int,input().split())
#print(A,B,C,D)
def judge(A,B,C,D):
    for i in range(99):
        C = C-B
        A = A - D
        if C<=0:
            return 1
        elif A<= 0:
            return 0
if judge(A,B,C,D)==1:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
def main():
  A, B, C, D = map(int, input().split())
  print (C / A)
  print (D / B)
  print('Yes') if int(C/A) < int(D/B) else print('No')


if __name__ == '__main__':
  main()

Submission status: Wrong Answer

Solution code:
A, B, C, D =map(int, input().split())
#高橋君のモンスターは体力が Aで攻撃力がB
#青木君のモンスターは体力がCで攻撃力がD

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

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
T = A//D+A%D
O = C//B+C%B

print(T, O)

if T-O >=0:
    print('Yes')
else: print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

def shohai(A, B, C, D):
    while A > 0 and C > 0:
        aoki = C - B
        takahashi = A - D
        if aoki <= 0:
            return('Yes')
        if takahashi <= 0:
            return('No')
        C = aoki
        A = takahashi

shohai(A,B,C,D)

Submission status: Wrong Answer

Solution code:
rist = input().split()
for i in range(100):
  if int(rist[2])-int(rist[1])<0:
    print("Yes")
  else:
    rist[2] = int(rist[2])-int(rist[1])

  if int(rist[0])-int(rist[3])<0:
    print("No")
  else:
    rist[0] = int(rist[0])-int(rist[3])

Submission status: Wrong Answer

Solution code:
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

Submission status: Wrong Answer

Solution code:
A, B, C, D= map(int, input().split())
th = A
ah = C

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-


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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
a,b,c,d = input().split(' ')


a = int(a)
b = int(b)
c = int(c)
d = int(d)
 
  
r1 = a // d # 青木攻撃回数
r2 = c // b # 高橋攻撃回数


if  r2 > r1:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if a%d==0:
    x=a//d
else:
    x=a//d+1 

if c%b==0:
    y=c//b
else:
    y=c//d+1
    
if y<=x:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
A, B, C, D= map(int, input().split())
a_score=A/D
t_score=C/B
if a_score<t_score:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

if a-b>= d-c:
    print("No")
else:
    print("yes")

Submission status: Wrong Answer

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

TA = int(A / D)
AO = int(C / B)

if TA >= AO:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int,input().split())
e = a / d 
f = c / b
g = e - f
h = abs(g)
if h < 1:
    print("Yes")
elif e >= f:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
cntT = 0
cntA = 0
while c<=0:
    cntT += 1
    c -= b
while a <= 0:
    cntA += 1
    a -= d
if cntT <= cntA:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
if (C%B != 0): T = C/B + 1 
else: T = C/B
if (A%D != 0): Ao = A/D + 1 
else: Ao = A/D

if(T > Ao): print('No')
else: print('Yes')

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int, input().split())
#a,b :先攻
takahashi = c/b
aoki = a/d
if takahashi < aoki:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
i = list(map(int, input().split()))
while i[0] <= 0 or i[2] <= 0:
    i[2] -= i[1]
    if i[2] <= 0:
        break
    i[0] -= i[3]
    if i[0] <= 0:
        break
if i[0] <= 0:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
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))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
kai_a = a // d
kai_c = c // b
amari_a = a % d
amari_c = c % b

if kai_a > kai_c:
    print('Yes')
elif kai_a == kai_c:
    if d >= amari_a:
        print("No")
    else:
        print('Yes')
else:
    if kai_c - kai_a == 1 and b >= amari_c and d < amari_a:
        print('Yes')
    else:
        print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B, C, D= map(int, input().split())
a_score=A//D
t_score=C//B
if a_score<t_score:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
def win():
  A,B,C,D = map(int,input().split())
  for i in range(1,10):
    A = A - D
    B = B - C
  if A<=0:
      return("Yes")
  elif D<=0:
      return("No")

print(win())

Submission status: Wrong Answer

Solution code:
k = list(map(int, input().split() ) )
t = 1
while k[0] >=0 and k[2] >=0:
  if t == 1:
    k[2] -= k[1]
    t=2
  else:
    k[0] -= k[3]
    t=1
if t==1:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
A=list(map(int,input().split()))
aoki = A[2]-A[1]
taka = A[0]-A[3]
if aoki<=0 or taka>aoki:
    print("Yes")
elif taka<=0:
    print("No")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

taka=c/b
ao=a/d
flag=False

if c%b==0:
  flag=True

if flag and taka<=ao+1:
  ans="Yes"
elif taka <= ao:
  ans="Yes"
else:
  ans="No"
print(ans)

Submission status: Wrong Answer

Solution code:
N=list(map(int,input().split()))
takahashi=N[2]/N[1]
aoki=N[0]/N[3]

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

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

Submission status: Wrong Answer

Solution code:
ha, sa, hb, sb = map(int, input().split())
while True:
    ha = ha - sb
    if ha == 0:
        print('No')
        break
    hb = hb - sa
    if hb == 0:
        print('Yes')

Submission status: Wrong Answer

Solution code:
a, b, c, d= map(int, input().split())
k= a-b
n= d-c
if k>= n and n>0:
    print("No")
else:
    print("yes")

Submission status: Wrong Answer

Solution code:
A,B,C,D = map(int,input().split())
#print(A,B,C,D)
def judge(A,B,C,D):
    for i in range(99):
        C = C-B
        A = A - D
        if C==0:
            return 1
        elif A == 0:
            return 0
if judge(A,B,C,D)==1:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
A,B,C,D = map(int, input().split())
if (A and B and C and D) <=100 and (A and B and C and D) >=1:
    Aka = A+B
    AOKI = C+D
    if Aka > AOKI:
        print("Yes")
    else:
        print("NO")

Submission status: Wrong Answer

Solution code:
A, B, C, D = input().split(' ')

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

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

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

if (takahasi_count == aoki_count):
  print('No')
elif (takahasi_count >= aoki_count):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

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

print(taka, ao)
is_true = True
if taka < ao:
    is_true = True
elif taka > ao:
    is_true = False
else:
    if b > d:
        is_true = False

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

Submission status: Wrong Answer

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

taka=a/d
ao=c/b

if a%d==0:
  
  if taka>=ao:
    print('Yes')
  else:
    print('No')
else:
  if taka+1>=ao:
    print('Yes')
  else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,c,b,d=map(int,input().split())
A1=a-c
T1=b-d
if A1 < T1:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def battle(player1, player2):
    while player1.hp <= 0:
        attack(player2, player1)
        if player1.hp <= 0:
            return 'No'
        attack(player1, player2)
        if player2.hp <= 0:
            return 'Yes'
    return 'No'

Submission status: Wrong Answer

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

t = a / d + 1
a = c / b

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

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
N = C//B
M = A//D
n = C % B
m = A % D

if N < M:
  print('No')
elif N > M:
  print('Yes')
elif N == M:
  if n == 0:
    print('Yes')
  elif m == 0:
    print('No')
  else:
    print('Yes')

Submission status: Wrong Answer

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

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

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

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

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

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline

# B - Battle
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')

Submission status: Wrong Answer

Solution code:
a,b,c,d,=map(int,input().split())
def func(a,b,c,d):
    while True:
        c-=b
        a-=d
        if a<=0:
            return "No"
            break
        else:
            return "Yes"
            break
print(func(a,b,c,d))

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
A,B,C,D = input().split(" ")
count = 0
while (count!=0):
  C = int(C) - int(B)
  if int(C)<=0: 
    print(Yes)
    count = count + 1
  else: 
    continue
  A = int(A) - int(D)
  if int(A)<=0: 
    print(No)
    count = count + 1
  else: 
    continue

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def solve(a, b, c, d):
    # while a <= 0 or c <= 0:
    #     a -= d
    #     c -= b
    a = a - d
    c = c - b
    if a > c:
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    inputs = list(map(int, input().split()))
    solve(inputs[0], inputs[1], inputs[2], inputs[3])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if C/B >= A/D:
  if C%B != 0 and A%D == 0:
    print("No")
    exit()
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

print(win())

Submission status: Wrong Answer

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

# print(c/b, a/d)
if c/b - a/d < 1:
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

Solution code:
n, m, c, d = map(int, input().split())
if (n - m) < (c -d) or (n - m) == 0:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
A,B,C,D=map(int,input().split())
while C>1 or A>1:
  C-=B
  A-=D
  if C<=0:
    print("Yes")
  elif A<=0:
    print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int,input().split())
if c//b > a//d:
  print('Yes')
elif c//b < a//d:
  print('No')
elif c%b > a%d:
  print('No')
else:
  print('Yes')