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())
 
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())
turn = 0

while a > 0 and c > 0:
    print('a', a, 'c', c)
    if turn == 0:
        c -= b
        turn = 1
    elif turn == 1:
        a -= d
        turn = 0
    else:
        raise RuntimeError('not supported turn')

print('Yes' if a > 0 else 'No')

Submission status: Wrong Answer

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


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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

def main():
    A, B, C, D = map(int, input().split())
    t = math.ceil(A / D)
    a = math.ceil(B / C)

    if t < a:
        print("No")
    else:
        print("Yes")

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
A,B,C,D = map(int,input().split())
#N=int(input())
#A = list(map(int,input().split()))
#S=str(input())
flag=True
while C>0 and A>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())

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
import sys
for i in range(100):
    if (c-(b*i))<=0:
        print('Yes')
        sys.exit()
    elif (a-(d*i))<=0:
        print('No')
        sys.exit()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
try:
  a,b,c,d=[int(x) for x in input().split()]
  while(a>0 and c>0):
    c=c-b
    a=a-d
    
  if(a<=0):
    print("No")
    
  else:
    print("Yes")
    
except:
  pass

Submission status: Wrong Answer

Solution code:
Thp,Tatk,Ahp,Aatk = map(int,input().split())

import math

Ta = math.ceil(Thp/Aatk)
Ao = math.ceil(Ahp/Tatk)

print(Ta,Ao)

if Ta >= Ao:
    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())
while(True):
    if (d<=0):
        ans="Yes"
    c=c-b
    if (d<=0):
        ans="Yes"
        break
    b=b-d
    if (b<=0):
        ans="No"
        break

print(ans)

Submission status: Wrong Answer

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

takahashi = C/B+(not C%B==0)
aoki = A/D+(not A%D==0)
if takahashi < aoki+1 :print('Yes')
else: 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())
while(A > 0 or C > 0):
  C -= B
  win = True
  A -= D
  win = False
print("Yes") if win 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:
LI = lambda: list(map(int,input().split()))
MI = lambda: map(int,input().split())
yes = lambda: print("Yes")
no = lambda: print("No")
I = lambda: list(input())
J = lambda x: "".join(x)
II = lambda: int(input())
SI = lambda: input()
#---khan17---template
a,b,c,d = MI()
while(a == 0 and c == 0):
	c-=b
	if c<=0:
		yes()
		break
	a-=d
	if a<=0:
		no()
		break

Submission status: Wrong Answer

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

count1 = 0
count2 = 0
while A > 0:
    A -= D
    count1 += 1
while C > 0:
    C -= B
    count2 += 1

if count1 < count2:
    print("NO")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
print('YNeos'[-(-a//d) < --(c//b)::2])

Submission status: Wrong Answer

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

if a==c and b<d:
    print("No")
else:
    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:
#input
A, B, C, D = map(int, input().split())

#output
p = C//B
q = A//D

if p - q >= 1:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

N = 1
while True:
    A = A - N*D
    C = C - N*B
    N += 1
    if C <= 0:
        print("Yes")
        break
    elif A <= 0:
        print("No")
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int,input().split())
while ((a>0) & (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())
if max(a,c)==a and max(b,d)==b:
  print('Yes')
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=[int(x) for x in input().split()]
print((c-1)//b , (a-1)//d)
if (c-1)//b > (a-1)//d:
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

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

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:
    C = C - B
    A = A - D
    print(C, A)

if A <= 0 and C <= 0:
    ans = 'Yes'
elif C <= 0:
    ans = 'Yes'
else:
    ans = 'No'
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

number_of_turns_takahsi = math.ceil(C / B)
number_of_turns_aoki = math.ceil(A / D)
print(number_of_turns_takahsi, number_of_turns_aoki)

answer = 'Yes' if number_of_turns_takahsi <= number_of_turns_aoki else 'No'

print(answer)

Submission status: Wrong Answer

Solution code:
"""def power(x, y): 
    res = 1
    x=x
    while (y > 0): 
        if ((y & 1) == 1) : 
            res = (res * x) 
        y = y >> 1
        x = (x * x)
    return res""" 
"""def fact(n):
    if(n==0):
        return 1
    if(n==1):
        return 1
    return fact(n-1)+fact(n-2)"""

import math
#import combinations


#t=int(input())
#for _ in range(t):
    #n=int(input())
    #s=input()
    #arr=list(map(int,input().split()))
    #b=list(map(int,input().split()))
    #d={}
    #flag=0
a,b,c,d=map(int,input().split())
    #count=0
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())
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())
while A > 0 and C > 0:
    C = C - B
    if C <= 0:
        break
    else:
        A = A - D
if A == 0:
    ans = 'No'
else:
    ans = 'Yes'
print(ans)

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())
List1 = [A,B]
List2 = [C,D]
if min(List1) > min(List2):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

x = math.floor(a/c)
y = math.floor(c/d)
if x > y:
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
hp1, a1, hp2, a2 = map(int, input().split())
while True:
    if hp1 >= 0:
        hp2 -= a1
        if hp2 == 0:
            print("Yes")
            break
    else:
        print("No")
        break

    if hp2 >= 0:
        hp1 -= a2
        if hp1 == 0:
            print("No")
            break
    else:
        print("No")
        break

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

A_zero_num = A // D +1
C_zero_num = C // B +1

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

for i in range(A // D):
    A -= D
    C -= B

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

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
print('YNeos'[(c//b)<=(a//d)::2])

Submission status: Wrong Answer

Solution code:
def check(a,b,c,d):
	while(a>0 and c>0):
		c-=b
		if(c<0):
			return 1
		a-=d
		if(a<0):
			return 0
	if(a<0):
		return 0
	if(c < 0):
		return 1
inp1=list(map(int,input().strip().split()))[:4]
a,b,c,d=inp1[0],inp1[1],inp1[2],inp1[3]
if(check(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 + 1 >= c//b :
  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:
a,b,c,d=map(int,input().split())
if (a//d+1)>=(c//b+1):
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

Solution code:
l=list(map(int,input().split()))
a,b,c,d=l[0],l[1],l[2],l[3]
if (a-c)<=0 or (b-d)<=0:
  print('No')
else:
  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())
print("Yes" if c+d<a+b else "No")

Submission status: Wrong Answer

Solution code:
ok=True
i=0
a,b,c,d=map(int,input().split())
k=c//b
c-=b*k
a-=d*(k)
if(a==0 and c!=0):
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

for i in range(1, 100):
    c1=c-b*i
    if (c1 <= 0):
        print ('Yes')
        sys.exit()
    a1=a-d*i
    if (a1 <= 0):
        print ('No')
        sys.exit()

Submission status: Wrong Answer

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

e = a//d + (0 if a%d == 0 else 1)
f = c//b + (0 if b%c == 0 else 1)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if A == C and D > B:
    print("No");
elif  C/B >= A/D:
    print("Yes")

Submission status: Wrong Answer

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

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

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
a,b=max(a,b),min(a,b)
c,d=max(c,d),min(c,d)
if a>=d:
  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")
print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

for i in range(1, 100):
    if i%2 != 0:
        c -= b
    else:
        a -= d

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

TK = A / D
AO = C / B

if AO <= TK :
	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 = c-b
        if c <= 0:
            print('Yes')
            break
    else:
        a = a-d
        if a <= 0:
            print('No')
            break

Submission status: Wrong Answer

Solution code:
taka_h, taka_a, aoki_h, aoki_a = map(int, input().split())

if(aoki_h - taka_a <=0):
    print("Yes")
elif(taka_h - aoki_a<= 0):
    print("No")

Submission status: Wrong Answer

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

aoD = C // B
aoR = C % B
takD = A // D
takR = A % B

if aoD == takD:
    print('Yes') if takR >= aoR else print('No')
elif takD < aoD:
    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('No')
else:
  print('Yes')

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:
a,b,c,d = map(int, input().split())
turn = 0
while a>=0 and c>=0:
    if not turn:
        c=c-b
        turn = 1
    else:
        a=a-d
        turn = 0

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

Submission status: Wrong Answer

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

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

    new_c = c
    new_a = a

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

Submission status: Wrong Answer

Solution code:

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

while True:
  A = A - D
  if A <= 0:
    break
  C = C - B
  if C <= 0:
    break

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

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
if a+b>=c+d and max(a,b)>max(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:
def check(a,b,c,d):
	while(a>0 and c>0):
		c-=b
		if(c==0):
			return 1
		a-=d
		if(a==0):
			return 0
	if(a<0):
		return 0
	if(c < 0):
		return 1
inp1=list(map(int,input().strip().split()))[:4]
a,b,c,d=inp1[0],inp1[1],inp1[2],inp1[3]
if(check(a,b,c,d)):
	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:
    break
  A = A - D
  if A <= 0:
    break
print('Yes' if A > 0 else '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
if A<=0:
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
n,m,a,b=map(int,input().split())
if n+m>a+b:
    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 c-b*i <= 0:
        print("yes")
        break
    elif  a-d*i <= 0:
        print("No")
        break
    else:
        a = a-d*i
        c = c-b*i

Submission status: Wrong Answer

Solution code:
#スペース区切りの整数の入力
A, B,C,D = map(int, input().split())

ans_a = A
ans_c = C
count_a = 0
count_c = 0
while(ans_a<=0):
  ans_a = ans_a - D
  count_a = count_a +1

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
taka = a // d + a % d
ao = c // b + c % b

if taka >= ao:
    print("Yse")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math

input_str = input()

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

print("yes" if math.ceil(c/b) <= math.ceil(a/d) else "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
        if c<=0:
            print('Yes')
            break
    else:
        a-=d
        if a<=0:
            print('No')
            break

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

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

ct = 0
for _ in range(100000):
  C -= A
  ct += 1
  
  if C <= 0:
    break
  
ca = 0
for _ in range(100000):
  A -= D
  ca += 1
  
  if A <= 0:
    break
    
print('No' if ct == ca else 'Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

def main():
    A, B, C, D = map(int, input().split())
    t = math.ceil(A / D)
    a = math.ceil(B / C)

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

if __name__ == '__main__':
    main()

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

Submission status: Wrong Answer

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

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 <= 0:
        print('No')
        exit()
    elif c <= 0:
        print('Yes')
        exit()

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:
import sys
input = sys.stdin.readline

# B - Battle
def win_takahashi(A, B, C, D):

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

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

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

Submission status: Wrong Answer

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

takahashi = C/B+(not C%B==0)
aoki = A/D+(not A%D==0)
if takahashi <= aoki+1 :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())
counter = 1
while A > 0 and C > 0:
    if counter % 2 == 1:
        '''T 攻击'''
        C -= B
    elif counter % 2 == 0:
        A -= D
if A <= 0:
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

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

def main():
    A, B, C, D = map(int, input().split())
    for i in range(1000):
        A -= D
        if A<=0:
            fg = False
            break
        B -= C
        if B<=0:
            fg = True
            break
    if fg:
        print('Yes')
    else:
        print('No')

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
for i in range(100):
    C = C - B
    if C < 0:
        print('No')
        break
    A = A - D
    if A < 0:
        print('Yes')
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

inp=input().split(" ")
thp=int(inp[0])
tat=int(inp[1])
ahp=int(inp[2])
aat=int(inp[3])

for i in range(100):
  ahp-=tat
  if ahp<=0:
    print("Yes")
    sys.exit()
  thp-=aat
  if thp<=0:
    print("Yes")
    sys.exit()

Submission status: Wrong Answer

Solution code:
A,B,C,D = (int(x) for x in input().split())
while 1 > 0:
  D = D-B
  if D <= 0:
    print('Yes')
    break
  A = A-C
  if A <= 0:
    print('No')
    break

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
while 0<a or 0<c:
  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())
import math
num = math.ceil(D/B)
num2= math.ceil(A/C)

if num<=num2:
    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=[int(i) for i in input().split()]
if max(a,b)>min(c,d):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

T =math.ceil(C/B)
K =math.ceil(A/D)
if T <= K:
  print("Yes")
else:
  print("NO")

Submission status: Wrong Answer

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

i = 1

while (A > 0 and C >0):
    if i% 2 ==1:
        C = C - B
    else:
        A = A- D
    i += 1

if C == 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
try:
  a,b,c,d=[int(x) for x in input().split()]
  while(a<=0 or c<=0):
    c=c-b
    a=a-d
    
  if(a<=0):
    print("No")
    
  else:
    print("Yes")
    
except:
  pass

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
print('YNeos'[a//d <= c//b::2])

Submission status: Wrong Answer

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

if c//b > a//d: #死ぬターン数-1
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

ct = 0
for _ in range(100000):
  C -= A
  ct += 1
  
  if C <= 0:
    break
  
ca = 0
for _ in range(100000):
  A -= D
  ca += 1
  
  if A <= 0:
    break
    
print('No' if ct >= ca else 'Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#-*-coding:utf-8-*-

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

    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
t_attack = -(-1*C // B)
a_attack = -(-1*A / D)

if t_attack <= a_attack:
    print("Yes")
else:
    print('No')

Submission status: Wrong Answer

Solution code:
a,b,c,d=[int(x) for x in input().split()]
if (c-1)//b < (a-1)//d:
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

Solution code:
n = input().split(" ")
a = int(n[0])
b = int(n[1])
c = int(n[2])
d = int(n[3])
for i in range(100):
    c += -b
    if c <= 0:
        print("Yes")
        break
    a += -d
    if d <= 0:
        print("No")
        break

Submission status: Wrong Answer

Solution code:

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

while True:
  A = A - D
  if A == 0:
    break
  C = C - B
  if C == 0:
    break

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

Submission status: Wrong Answer

Solution code:
T_Tairyoku,T_Atack,A_Tairyoku,A_Atack=map(int,input().split())

T=(A_Tairyoku//T_Atack)

A=(T_Tairyoku//A_Atack)
if T>A:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

while c>0:
    c=c-b
    count1+=1
print(c,count1)

while  a>0:
    a=a-d
    count2+=1
print(a,count2)

if count1>count2:
    print('No')
else:
    print('Yes')

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

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