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 = list(map(int, input().split()))
while True:
    E = C - B
    F = A - D
    if F <= 0:
        print('No')
        break
    else:
        print('Yes')
        break

Submission status: Wrong Answer

Solution code:
def battle(A,B,C,D):
    if A//D > C//B:
        return 'Yes'
    elif A//D > C//B:
        return 'No'
    else:
        if C-B*(C//B) > 0 and A-D*(A//D) == 0:
            return 'No'
        else:
            return 'Yes'


if __name__ == "__main__":
    A,B,C,D = map(int,input().split())
    print(battle(A,B,C,D))

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 c<=0:
            return "Yes"
            break
        else:
            return "No"
            break
print(func(a,b,c,d))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

A_attack = C / B 
C_attack = A / D
A_Fin = 1 if C % B != 0 else 0
C_Fin = 1 if A % D != 0 else 0

if A_attack == 1 or C_attack == 1:
  if B >= D:
    print('Yes')
  else:
    print('No')  
elif A_attack+A_Fin <= C_attack+C_Fin:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
x=a//d+[1,0][(a%d)>0]
y=c//b+[1,0][(c%b)>0]
if x>=y:
  print("No")
else:
  print("Yes")
#print(x,y)

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if abs((a-b)%2)> abs((c-d)%2):
    print("No")
else:
    print("yes")

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

Submission status: Wrong Answer

Solution code:
THP,TAT,AHP,AAT = map(int,input().split())
while THP and AHP > 0 :
    AHP -= TAT
    THP -= AAT
if THP <= 0 and AHP > 0 :
    print("No")
elif AHP <= 0 and THP > 0 :
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
A,B,C,D=map(int,input().split())
win=A/D
lose=C/B
if win>lose:
  print("Yes")
else:
  if lose-win<=1 and A%D!=0:
    print("Yes")
  else:
    print("No")

Submission status: Wrong Answer

Solution code:
def battle(A,B,C,D):
    if A//D > C//B:
        return 'Yes'
    elif A//D > C//B:
        return 'No'
    else:
        if C-B*(C//B) > 0:
            return 'No'
        else:
            return 'Yes'


if __name__ == "__main__":
    A,B,C,D = map(int,input().split())
    print(battle(A,B,C,D))

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())
while (a>0 and c>0):
    a = a-d
    c = c-b
    if a <= 0:
        print("No")
        break
    if c <= 0:
        print("Yes")
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
line = input().rstrip().split(" ")
a=int(line[0])    #高木の体力
b=int(line[1])    #高木の攻撃
c=int(line[2])    #青木の体力
d=int(line[3])    #青木の攻撃

i=0
while i>=0:
    if i%2==0:#偶数
        c=c-b
    else :
        a=a-d
    
    i=i+1
    
    if c<0:
        i=0-1
    elif a<0:
        i=0-1
    
    
if a>c:
    print("No")
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()

a_count = a / d 
c_count = c / b 

if a % d != 0:
    if c_count > a_count + 1:
        print('No')
    else:
        print('Yes')
else:
    if c_count > a_count:
        print('No')
    else:
        print('Yes')

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int,input().split())
if B >= C:
    print("Yes")
elif D >= A:
    print("No")
else:
    Ao = C
    Ta = A
    for i in range(max(A//D,C//B)):
        Ao -= B
        Ta -= D
        if Ao <= 0:
            print("Yes")
            exit()
        if Ta <= 0:
            print("No")
            exit()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
print('yes' if A - D > C - B else 'no')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if (B-A)>(D-C):
  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
flag = 100
while True:
    O -= 1
    if O == 0:
        flag = 1
        break
    T -= 1
    if T == 0:
        flag = 0
        break
    
if flag == 1: print('Yes')
else: print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
for i in range(1):
    a=a-d
    c=c-b
if c<a:
    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:
def win():
  A,B,C,D = map(int,input().split())
  while A <= 0 or C <= 0:
    A = A - D
    C = C - B
  if A<=0:
      return("Yes")
  else:
      return("No")

print(win())

Submission status: Wrong Answer

Solution code:
n = input().split()
n = [int(i) for i in n]

a = n[0]/n[3]
a_1 = n[0]//n[3]

b = n[2]/n[1]
b_1 = n[2]//n[1]

if a > a_1:
    a = a_1 + 1
    
if b > b_1:
    b = b_1 + 1

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

Submission status: Wrong Answer

Solution code:
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:
            A -= D
            boolTurnTaka = False
        else:
            C -= B
            boolTurnTaka = True

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

for i in range(100):
  C -= B
  if C <= 0:
    print('Yes')
    exit()
  A -= D
  if A <= 0:
    print('No')

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int, input().split())
i = 1
while a > 0 & c > 0:
    a = a
    c = c - i*b

    if c > 0:
        a = a-i*d
        c = c

        i += 1
if a <= 0:
    print('No')
if c  <= 0:
    print('Yes')

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())
bool = True
while True:
    if bool:
        a -= d
    else:
        c -= b
    if a == 0:
        print("No")
        break
    elif c == 0:
        print("Yes")
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if (a//d +1) < (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:
li = list(map(int, input().split()))
for i in range(100):
    if i % 2 == 0:
        li[2] = li[2] - li[1]
        if li[2] <= 0:
            print("Yes")
            break
    else:
        li[0] = li[0] - li[3]
        if li[0] <= 0:
            print("No")
            break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
T=0
A=0
while c>0:
  c-=b
  T+=1
while a>0:
  a-=d
  A+=1 
if A>T:
  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:
from sys import stdin, stdout  
import math
def main(): 
	a, b, c, d = [int(x) for x in stdin.readline().split()] 
	# h s h s
	print(math.ceil(c / b), c )
	print(math.ceil(a / d) , a)
	if math.ceil(c / b) <= math.ceil(a / d):
		stdout.write('Yes \n')
	else:
		stdout.write('No \n')
if __name__ == "__main__": 
	main()

Submission status: Wrong Answer

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

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

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


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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

for i in range(100):
  if i%2==0:
    c-=b
  else:
    a-=d
  if a<=0:
    print("No")
    break
  if c<=0:
    print("Yes")
    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:
w = input().split()
a=int(w[0])
b=int(w[1])
c=int(w[2])
d=int(w[3])

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

Submission status: Wrong Answer

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


if __name__ == '__main__':
  main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
takahashi = c//b
aoki = a//d
if takahashi < aoki:
    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")
else:
  print("Yes")

Submission status: Wrong Answer

Solution code:
x = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
d = int(x[3])
while a > 0 or c > 0:
  c = c - b
  a = a - d
if c <= 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):
    c = c - b
    if c <= 0:
        print("Yes")
        break
    else:
        a = a - d
        if a <= 0:
            print("No")
            break

Submission status: Wrong Answer

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

if c//b < a//d or (c//b == a//d+1 and a%d != 0) or (c//b == a//d and c%d != 0):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))
t1 = a[0]#hp
t2 = a[1]#atc
a1 = a[2]
a2 = a[3]

if a1%t2 == 0:
  if a1/t2 < t1/a2+1:
    print("Yes")
  else:
    print("No")
else:
  if a1/t2 < t1/a2:
    print("Yes")
  elif a1//t2 == t1//a2:
    print("Yes")
  else:
    print("No")

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:
N=[int(x) for x in input().split()]
if not N[2]%N[1]==0:
   c=N[2]//N[1]+1
else:
    c=N[2]//N[1]

if not N[0]%N[3]==0:
   c=N[0]//N[3]+1

   d=N[0]//N[3]+1
else:
    d=N[0]//N[3]
print(c,d)
if d>=c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num = input().split(" ")
t_hp = int(num[0])
t_bt = int(num[1])
a_hp = int(num[2])
a_bt = int(num[3])
for i in range(1,300):
    t_hp_tmp = t_hp - a_bt
    a_hp_tmp = a_hp - t_bt
    if t_hp_tmp <= 0:
        print("No")
        break
    if a_hp_tmp <= 0:
        print("Yes")
        break
    t_hp = t_hp_tmp
    a_hp = a_hp_tmp

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A=()
B=()
C=()
D=()
game=True

A, B, C, D = map(int, input().split())
E=A
F=B
G=C
H=D
while game==True:   
      C=C-F
      if C<=0:
            print('Yes')
            game=False
            break
      A=A-G
      if A<=0:
            print('No')
            game=False
            break
      D=D-E
      if D<=0:
            print('Yes')
            game=False
            break
      B=B-H
      if B<=0:
            print('No')
            game=False
            break

Submission status: Wrong Answer

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

import math
k = math.ceil(c/b)
l = math.ceil(a/d)

if k >= l:
    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    
  if c <= 0:
      break
      print("Yes")
    
  a -= d
  if a<= 0:
      break
      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 and C<=0:
    print("Yes")
elif A<=0:
    print("No")
elif C<=0:
    print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

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

Submission status: Wrong Answer

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

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

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

while(True):
	c = c - b
	if c <= 0:
		print('yes')
		break
	a = a - d
	if a <= 0:
		print('no')
		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
    print(AOKI,TAKA)
    if AOKI>=0:
        print("Yes")
    else:
        print("NO")

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int,input().split())
if B >= C:
    print("Yes")
elif D >= A:
    print("No")
else:
    i, j = divmod(C,B)
    k, l = divmod(A,D)
    if i < k:
        print("Yes")
    if i > k:
        if j - B < l:
            print("Yes")
        else:
            print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def so():
    n,m,a,b=map(int,input().split())
    l1=sorted([n,m])
    l2=sorted([a,b])
    if n+m>b+a:
        return ("Yes")
    if n+m==b+a:
        if l1[0]>l2[0]:
            return ("Yes")
        else:
            return ("No")
    else:
        return ("No")
print(so())

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:
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//b:
  print("Yes")
elif a//d>c//b:
  print("No")
elif a%d<c%b:
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int, input().split())
i = 1
while a >= 0 & c >= 0:
    a = a
    c = c - i*b

    a = a-i*d
    c = c

    i += 1
if a <= 0:
    print('No')
else :
    print('Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
if __name__ == "__main__":
    a,b,c,d=map(int,input().strip().split())
    jishu1=0
    jishu2=0
    while True:
        a=a-d
        jishu1+=1
        if a<=0:
            break
    while True:
        c=c-b
        jishu2+=1
        if a<=0:
            break
    if jishu1<jishu2:
        print("No")
    else:
        print("Yes")

Submission status: Wrong Answer

Solution code:
a, b, c, d= map(int, input().split())
if (a+b)%2> (c+d)%2:
    print("No")
else:
    print("yes")

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
T = A//D+A%D
O = C//B+C%B
while True:
    T -= 1
    if T == 0:
        flag = 0
        break
    O -= 1
    if O == 0:
        flag = 1
        break
    

if flag == 0: 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(100):
    if i % 2 == 0:
        li[2] = li[2] - li[1]
        if li[2] <= 0:
            print("Yes")
            break
    else:
        li[0] = li[0] - li[3]
        if li[0] <= 0:
            print("No")
            break

Submission status: Wrong Answer

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

flag = 1

while True:
    if M[2] > 0:
        M[2] = M[2]-M[1]
        flag = flag * -1
    else:
        break
    if M[0] > 0:
        M[0] = M[0]-M[3]
        flag = flag * -1
    
#print(M[0])
#print(M[2])
#print(flag)

if flag == 1:
    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//b:
  print("Yes")
elif a//d>c//b:
  print("No")
elif a%d<c%b:
  print("No")
else:
  print("No")

Submission status: Wrong Answer

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

T = c//b + c%b
A = a//d + a%d
if c <= b:
    print("Yes")
    quit()
elif a <= d:
    print("No")
    quit()

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

Submission status: Wrong Answer

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

if c//b < a//d or (c//b == a//d+1 and a%d != 0):
  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    
  if c <= 0:
      break
      print("Yes")
  else:
      pass
    
  a -= d
  if a<= 0:
      break
      print("No")
  else:
      pass

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

while (Cn > 0) and (An > 0):
    Cn = Cn - B
    if Cn > 0:
        An = An - D
    else:
        break

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
x=0
while(True):
    if x%2==0:
        if c-b>0:
            c=c-b 
        elif(c-b<=0):
            print("yes")
            break
        x+=1
    else:
        if a-d>0:
            a=a-d
        else:
            print("no")
            break 
        x+=1

Submission status: Wrong Answer

Solution code:
THP,TAT,AHP,AAT = map(int,input().split())
while THP and AHP > 0 :
    AHP -= TAT
    THP -= AAT
if THP <= 0 and AHP > 0 :
    print("No")
elif AHP <= 0 and THP > 0 :
    print("Yes")
else:
    print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c,d=list(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())
a%=d
c%=b
if a>0 and c-b <=0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


if __name__ == '__main__':
  main()

Submission status: Wrong Answer

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

for i in range(1,100):
    c = c - b
    if c <= 0:
        break
    else:
        a = a - d
        if a <= 0:
            break
if c <= 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")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math

a, b, c, d = map(int, input().split())
T = a//d + a%d
A = c//b + c%b

T = math.ceil(T)
A = math.ceil(A)

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

Submission status: Wrong Answer

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