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())
for i in range(101):
    if i % 2 == 0:
        c -= b
    else:
        a -= d
    if a <= 0:
        print('No')
        break
    elif c <= 0:
        print('Yes')
        break

Submission status: Wrong Answer

Solution code:
i = list(map(int, input().split()))
tp = i[0]
ta = i[1]
ap = i[3]
aa = i[3]
while tp > 0 and ap > 0:
  #print("たかはしのこうげき！")
  ap = ap - ta
  #print("たかはしは",ta,"ポイントのダメージをあおきにあたえた！")
  #print("あおきののこりたいりょくは",ap)
  #print("あおきのこうげき！")
  tp = tp - aa
  #print("あおきは",aa,"ポイントのダメージをたかはしにあたえた！")
  #print("たかはしののこりたいりょくは",tp)
if tp > 0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
w = input().split()
a=int(w[0])
b=int(w[1])
c=int(w[2])
d=int(w[3])
#print((a//d))
#print((a%d))
#print(c//b)
#print(c%b)
if a%d>=c%d:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

aoki = c
takahashi = a

for i in range(101):
  if takahashi - d > 0: 
    if aoki - b <= 0: #高橋勝ち
      print("Yes")
      break
    else: #戦闘続く
      takahashi = takahashi - d
      aoki = aoki - c
      continue
  else: #高橋負け
    print("No")
    break

Submission status: Wrong Answer

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

if A%D!=0:
  jud1=A//D+A%D
else:
  jud1=A//D

if C%B!=0:
  jud2=C//B+C%B
else:
  jud2=C//B
  
print(jud1,jud2)
if jud1>=jud2:
  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,10000):
    A = A - D
    C = C - B
  if A<=0:
      return("Yes")
  else:
      return("No")

print(win())

Submission status: Wrong Answer

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

m=A//D
if A%C!=0:
    m+=1
n=C//B
if C%B!=0:
    n+=1
if m>n:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

takahashi_count = (int)(C/B)
aoki_count = (int)(A/D)

if C % B != 0 :
  takahashi_count += 1
if A % D != 0:
  aoki_count += 1

if takahashi_count >= aoki_count:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import collections
import math

stdin = sys.stdin

ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))


a,b,c,d = nm()
ao=math.floor(a/d)
su=math.floor(c/b)
if(ao<su):
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
input_line = input()
Line = input_line.split()
Line = [int(s) for s in Line]


print(-1*(-1*Line[2] // Line[1]))
print(-1*(-1*Line[0] // Line[3]))

if -1*(-1*Line[2] // Line[1]) <= -1*(-1*Line[0] // Line[3]):
    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):
    if c <= 0:
        c -= b
        if c <= 0:
            break
            print("Yes")
        else:
            pass
    
    if a <= 0:
        a -= d
        if a<= 0:
            break
            Print("No")
        else:
            pass

Submission status: Wrong Answer

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

t = C //B
a = A //D

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

Submission status: Wrong Answer

Solution code:
a, b, c, d= map(int, input().split())
A =a%2
B =b%2
C =c%2
D =d%2
if abs(A-B)> abs(C-D):
    print("No")
else:
    print("yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(win())

Submission status: Wrong Answer

Solution code:
A,B,C,D=input().split()
A = int(A)
B = int(B)
C = int (C)
D = int(D)
if  A >=1 and A <=100 and B >=1 and B <=100 and C >=1 and C <=100 and D >=1 and D <=100 and A+B >= C + D:
    print ('Yes')
else:
    print ('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
A,B,C,D=map(int, input().split())
sho1 = C//B
sho2 = A//D
if sho2 >= sho1:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

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

    if (A // D) == (C // B): 
        if (C % B) == 0:
            print("Yes")
        else:
            print("No")
    elif (A // D) < (C // B):
        print("Yes")
    else:
        print("No")

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

Solution code:
list1 = list(map(int, input().strip().split()))
a = list1[0]
b = list1[1]
c = list1[2]
d = list1[3]

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
nums = input()
nums = nums.split()
taka_hp = int(nums[0])
taka_pw = int(nums[1])
aoki_hp = int(nums[2])
aoki_pw = int(nums[3])

for i in range(0,100):
  if i%2 == 0 :
    aoki_hp -= taka_pw
  elif i%2 !=0:
    taka_hp -= aoki_pw
  if taka_hp <= 0:
    print("No")
    break
  elif aoki_hp <= 0:
    print("Yes")
    break

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:
    AOKI = C-B
    TAKA = A-D
    if TAKA > AOKI:
        print("Yes")
    else:
        print("NO")

Submission status: Wrong Answer

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

aoki = c
takahashi = a

for i in range(101):
  if takahashi - d > 0: 
    if aoki - b < 0: #高橋勝ち
      print("Yes")
      break
    else: #戦闘続く
      takahashi = takahashi - d
      aoki = aoki - c
      continue
  else: #高橋負け
    print("No")
    break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
F = C - B
S = A - D
if F < S:
    print("Yes")
elif F < S:
    print("No")
elif F == S:
    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)
if  A >=1 and A <=100 and B >=1 and B <=100 and C >=1 and C <=100 and D >=1 and D <=100 and A-B > C - D:
    print ('Yes')
else:
    print ('No')

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int, input().split())
if int(a/d)<int(c/b):
    print('Yes')
elif int(a/d)==int(c/b):
    if a%d==0 and 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 = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)

a_hp = a
b_hp = c

result = ""
while True :
	b_hp-= b
	if b_hp <= 0 :
		result ="Yse"
		break
		
	a_hp -= d
	if a_hp <= 0 :
		result = "No"
		break
print(result)

Submission status: Wrong Answer

Solution code:
A,B,C,D=map(int,input().split())
a=A//D
b=A%D
c=C//B
d=C%B
if a<c:
  print('Yes')
elif a==c and b==d==0:
  print('Yes')
elif a==c and b!=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):
    y = y - B
    if y >= 0:
        T_count += 1 
    else:
        T_count += 0
        break

for j in range(100):
    x = x - D
    if x >= 0:
        A_count += 1 
    else:
        A_count += 0
        break

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

Submission status: Wrong Answer

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

x = a//d
y = c//b

if x == y:
    if a%d == 0:
        print("No")
    else:
        print("Yes")
elif x > y:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C,D=map(int,input().split())
if A+B >= C+D:
    print("Yes")
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:
from math import ceil
a,b,c,d=map(int,input().split())
cnt1=ceil(c/b)
cnt2=ceil(a/d)
if cnt1<=cnt2:
    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,10000):
    A = A - D
    C = C - B
  if A<=0:
      return("Yes")
  elif B<=0:
      return("No")

print(win())

Submission status: Wrong Answer

Solution code:
from sys import stdin, stdout  
  
def main(): 
	a, b, c, d = [int(x) for x in stdin.readline().split()] 

	# h s h s

	if c % b < a % d:
		stdout.write('Yes \n')
	else:
		stdout.write('No \n')
if __name__ == "__main__": 
	main()

Submission status: Wrong Answer

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

if c%b>0:
    x=c//b+1
else:
    x=c//b

if a%d>0:
    y=a//d+1
else:
    y=a//d
print(x,y)
print('Yes' if x<=y else 'No')

Submission status: Wrong Answer

Solution code:
s = [input() for i in range(1)] 
li = list(map(int, s[0].split()))
for i in range(0,101):
    if i % 2 == 0:
        li[2] = li[2] - li[1]
        if li[2] <= 0:
            print("Yes")
            break
    if i % 2 == 1:
        li[0] = li[0] - li[3]
        if li[0] <= 0:
            print("No")
            break

Submission status: Wrong Answer

Solution code:

def Sol(taka_health,taka_stregnth,aoki_health,aoki_stregnth):
    
    if taka_health%aoki_stregnth != 0:
        moves_taka = int(taka_health/aoki_stregnth) + 1
    else:
        moves_taka = int(taka_health/aoki_stregnth)
    
    if aoki_health%taka_stregnth != 0:
        moves_aoki =int(aoki_health/taka_stregnth) + 1
    else:
        moves_aoki = int(taka_health/aoki_stregnth)
    
    if moves_taka > moves_aoki:
        print("YES")
    else:
        print("NO")
    return

    

#for t in range(int(input())):
n,k,d,c = map(int,input().split())
#n = int(input())
#arr = []
#for i in range(n):
#    time = list(map(int,input().split()))
#    time = time[0] + (time[1]/60)
#    arr.append(time)
#arr = list(map(int,input().split()))
#k = input()
#n = int(input())
Sol(n,k,d,c)

Submission status: Wrong Answer

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

takahashi = a
aoki = c

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

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

Submission status: Wrong Answer

Solution code:
a,b,c,d=(int(x) for x in input().split())
while(True):
    if c > 0:
        c -= b
    else:
        break
        
    if a > 0:
        a -= d
    else:
        break
if a > 0:
    print('Yes')
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
h1, s1, h2, s2 = map(int, input().split())

if math.ceil(h2/s1) <= math.ceil(h1/s2):
    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')
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

aoki_count = A//D
takahashi_count = C//B

if aoki_count < takahashi_count:
    print("Yes")
elif aoki_count == takahashi_count:
    if A%D >= C%B:
        print("Yes")
    else:
        print("No")
elif aoki_count > takahashi_count:
    print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
h1, a1, h2, a2 = map(int,input().split())
x = h2 // a1
y = h1 // a2
print("Yes" if x >= y else "No")

Submission status: Wrong Answer

Solution code:
a,b,c,d=46,4,40,5
if int(a/d)<int(c/b):
    print('Yes')
elif int(a/d)==int(c/b):
    if a%d==0 and 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())

x = C / B
y = A / D

z = x - 1

if z <= y:
    print('Yes')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
import sys
a,b,c,d = map(int,input().split())
t_1 = a//d
t_2 = a%d
a_1 = c//b
a_2 = c%b

if t_1>a_1:
  print('No')
  sys.exit()
elif  t_1<a_1:
  print('Yes')
  sys.exit()
elif t_2 < a_2:
  print('No')
  sys.exit()
elif t_2 > a_2:
  print('Yes')
  sys.exit()
else:
  print('Yes')

Submission status: Wrong Answer

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

m=A//D
if A%C!=0:
    m+=1
n=C//B
if C%B!=0:
    n+=1
if m>=n:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

def battle(hp, pw):
	count = 0
	while hp > 0:
		hp -= pw
		count += 1
	return count

taka_count = battle(a,d)
ao_count = battle(c,b)

if taka_count > ao_count:
	print('Yes')
else:
	print('No')

Submission status: Wrong Answer

Solution code:

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

if A // D == 0:
    A_zero_num = A // D
else:
    A_zero_num = A // D +1

if C // B == 0:
    C_zero_num = C // B
else:
    C_zero_num = C // B +1

if A_zero_num == C_zero_num:
    print("Yes")

elif A_zero_num > C_zero_num:
    print("No")

else:
    print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

def Sol(taka_health,taka_stregnth,aoki_health,aoki_stregnth):
    
    if taka_health%aoki_stregnth != 0:
        moves_taka = int(taka_health/aoki_stregnth) + 1
    else:
        moves_taka = int(taka_health/aoki_stregnth)
    
    if aoki_health%taka_stregnth != 0:
        moves_aoki =int(aoki_health/taka_stregnth) + 1
    else:
        moves_aoki = int(taka_health/aoki_stregnth)
    
    print(moves_aoki,moves_taka)
    if moves_taka > moves_aoki:
        print("YES")
    else:
        print("NO")
    return

    

#for t in range(int(input())):
n,k,d,c = map(int,input().split())
#n = int(input())
#arr = []
#for i in range(n):
#    time = list(map(int,input().split()))
#    time = time[0] + (time[1]/60)
#    arr.append(time)
#arr = list(map(int,input().split()))
#k = input()
#n = int(input())
Sol(n,k,d,c)

Submission status: Wrong Answer

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

    if (A // D) == (C // B): 
        if (A % D) != 0:
            print("Yes")
        else:
            print("No")
    elif (A // D) < (C // B):
        print("Yes")
    else:
        print("No")

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

Solution code:
import sys 
import math
try:
	sys.stdin = open('input.txt', 'r') 
	sys.stdout = open('output.txt', 'w')
except:
	pass
input = sys.stdin.readline
for tt in range(1):
	# n = int(input())
	a,b,c,d = map(int,input().split())
	# l = list(map(int,input().split()))
	if math.ceil(a/d)==1:
		print("No")
	elif math.ceil(c/b)-1 <= math.ceil(a/d):
		print ("Yes")
	else:
		print("No")

Submission status: Wrong Answer

Solution code:
T_HP,T_Atk,A_HP,A_Atk = map(int,input().split())



while True:
    
    A_HP -= T_Atk
    if A_HP > 0:
        T_HP -= A_Atk
        if T_HP > 0:
            pass
        else:
            exit()
    else:
        print("Yes")
        exit()

Submission status: Wrong Answer

Solution code:
a,b,c,d=(int(x) for x in input().split())
while(True):
    if c > 0:
        c -= b
    else:
        break
        
    if a > 0:
        a -= b
    else:
        break
if a > 0:
    print('Yes')
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
a,b,c,d = map(int,input().split())
t_1 = a//d
t_2 = a%d
a_1 = c//b
a_2 = c%b
print(t_1,t_2,a_1,a_2)
if t_1>a_1:
  print('No')
  sys.exit()
elif  t_1<a_1:
  print('Yes')
  sys.exit()
elif t_2 < a_2:
  print('No')
  sys.exit()
elif t_2 > a_2:
  print('Yes')
  sys.exit()
else:
  print('Yes')

Submission status: Wrong Answer

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

if a == b == c == d:
    print('Yes')
    exit()

new_a = a 
new_c = c

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

    new_c = c 
    new_a = a 

if new_a > new_c:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
a, b, c, d =  map(int, input().split())
aoki_rest_hp = c
taka_rest_hp = d
for i in range(100):
    turn = aoki_rest_hp - b
    turn2 = taka_rest_hp - a
    if turn <= 0:
        print('Yes')
        break
    elif turn2 <= 0:
        print('No')
        break
    aoki_rest_hp = turn
    taka_rest_hp = turn2

Submission status: Wrong Answer

Solution code:
a=list(map(int,input().split()))
for i in range(1,100):
    if a[2]-i*a[1]<=0:
        print("Yes")
        break
    elif a[0]-i*a[3]<=0:
        print("No")
        break

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
fl=0
while(a>0 and c>0):
    a-=d
    c-=b
    if(a-d<=0 and c-b>0):
        fl=1
        break
    elif(a-d>0 and c-b<=0):
        fl=2
        break
if(fl==1):
    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:
N = [int(e) for e in input().split()]
for i in range(0,N[2]//N[1]):
    N[0] -= N[3]
    if(N[0] == 0):
        print('No')
        break
else:
    print('Yes')

Submission status: Wrong Answer

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


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

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 C%B >=  A%D :
  print ("Yes")
if 1 <= A <= 1000 and 1 <= B <= 1000 and 1 <= C <= 1000 and 1 <= D <= 1000 and C%B < A%D :
  print ("No")

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')
            break
        if takahashi <= 0:
            return('No')
            break
        C = aoki
        A = takahashi

shohai(A,B,C,D)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def win():
  A,B,C,D = map(int,input().split())
  for i in range(1,10000):
    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(" "))
tao = a // d 
ttk = c // b 

if a%d == 0:
    tao -=1

if c%b == 0:
    ttk -=1

print(tao,ttk)
if tao >= ttk:
    print("Yes")
else:
    print("No")

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
        break

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

if T_count <= A_count:
    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:
  c=c-b
  a=a-d
if a<=0:
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
THP, TMP, AHP, AMP = map(int, input().split())

while AHP > 0 and THP > 0:
  
  AHP = AHP - TMP
  THP = THP - AHP
  
if AHP > THP:
  print('Yes')

else:
  print('No')

Submission status: Wrong Answer

Solution code:
X = list(map(int,input().split()))

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


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

m = 0
while A>0:
  A -= D
  m += 1
print(n,m)
if n<=m:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
T_HP,T_Atk,A_HP,A_Atk = map(int,input().split())



while True:
    
    A_HP -= T_Atk
    print(A_HP,T_Atk)
    if A_HP > 0:
        T_HP -= A_Atk
        if T_HP > 0:
            pass
        else:
            exit()
    else:
        print("Yes")
        exit()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = [input() for i in range(1)] 
li = list(map(int, s[0].split()))
for i in range(0,100):
    if i % 2 == 0:
        li[2] = li[2] - li[1]
        if li[2] <= 0:
            print("Yes")
            break
    if i % 2 == 1:
        li[0] = li[0] - li[3]
        if li[0] <= 0:
            print("No")
            break

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int,input().split(" "))
while True:
  c -= b
  if c <= 0:
    print("yes")
    exit()
  a -= d
  if a <= 0:
    print("yes")
    exit()

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

Submission status: Wrong Answer

Solution code:
input_line = list(map(int,input().split()))

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

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

Submission status: Wrong Answer

Solution code:
A,B,C,D=map(float, input().split())
x=A/D
y=C/B
print("Yes"if x<=y else "No")

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%1!=0:
    takahashi=takahashi+1

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

Submission status: Wrong Answer

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

if a+b > c+d:
	print('Yes')
else:
	print('No')

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
if a%d==0:
    e=a%d
else:
    e=a%d+1
if c%b==0:
    f=c%b
else:
    f=c%b+1

print("Yes" if e>=f else "No")

Submission status: Wrong Answer

Solution code:
a, b, c, d = input().split()
aok = int(c) + int(d)
tak = int(a) + int(b)
if (tak >= aok):
    print("yes")
else:
    print("no")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

is_tkhs = True
for _ in range(100000):
  if is_tkhs:
    C -= B
  else:
    A -= D
    
  is_tkhs *= -1
    
    
  if C <= 0 or A <= 0:
    break
      
print('No' if A <= 0 else '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)

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>=C/B:
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=list(map(int,input().split()))
for i in range(100):
    if a[2]-i*a[1]<=0:
        print("Yes")
        break
    elif a[0]-i*a[3]<=0:
        print("No")
        break

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
if max(a,c)==a and max(b,d)==b:
  print('Yes')
elif max(a,c)==c and max(b,d)==d:
  print('No')
i=0
j=0
while True:
  if c-b>0:
    c=c-b
    i+=1
  else:
    break
while True:
  if a-d>0:
    a-=d
    j+=1
  else:
    break
if i<j:
  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")
  
else:
  print("No")

Submission status: Wrong Answer

Solution code:
A,B,C,D = map(int, input().split())
E = A-B
F = D-C
if E > F:
    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('No')
elif c//b == a//d:
    if c%b==0:
        print('Yes')
    elif a%d!=0:
        print('Yes')
    else:
        print('No')
else:
    print('Yes')

Submission status: Wrong Answer

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

if c//b >= a//d and a%d != 0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
l = input().split()
a_hp = int(l[0])
a_at = int(l[1])
b_hp = int(l[2])
b_at = int(l[3])
a_s = a_hp / b_at
a_a = a_hp // b_at
b_s = b_hp / a_at
b_a = b_hp // b_at

if a_a > 0:
  a_s += 1
if b_a > 0:
  b_s += 1
if a_s > b_s:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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


n = c // b

if a - n * d <= 0 | a - (n-1) * d <= 0:
    print('No')

else:
    print('Yes')

Submission status: Wrong Answer

Solution code:
import sys
from math import factorial
from collections import Counter
from fractions import Fraction
import heapq, bisect, fractions
import math
import itertools
sys.setrecursionlimit(10 ** 5 + 10)
INF = 10**15 +5
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
MOD = 10**9 + 7


a, b, c, d = MAP()
aa = c//b 
bb = a//d 

if aa > bb:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
A,B,C,D=input().split()
A = int(A)
B = int(B)
C = int (C)
D = int(D)
if  A >=1 and A <=100 and B >=1 and B <=100 and C >=1 and C <=100 and D >=1 and D <=100 and A+B > C+D:
    print ('Yes')
else:
    print ('No')

Submission status: Wrong Answer

Solution code:
import sys
def input(): return sys.stdin.readline().rstrip()

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

  a = A
  c = C
  for i in range(100):
    if i%2 == 0:
      c -= B
      if c <= 0:
        print('Yes')
        return
    else:
      a -= D
      if a <= 0:
        print('No')
        return

if __name__ == '__main__':
  main()

Submission status: Wrong Answer

Solution code:
import sys

inputLine=input()
A=int(inputLine.split(" ")[0])
B=int(inputLine.split(" ")[1])
C=int(inputLine.split(" ")[2])
D=int(inputLine.split(" ")[3])

while True:
    C = C - B
    if C >= 0:
        print("Yes")
        sys.exit()

    A = A - D
    if A >= 0:
        print("No")
        sys.exit()