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

Submission status: Wrong Answer

Solution code:
a,b,c,d,=map(int,input().split())
e=b%c+b//c
f=d%a+d//a+1
if b-c<=0:print("No")
elif b-c>0 and d-a<=0:print("Yes")
elif b-c>0 and d-a>0:
    for i in range(min(e,f)):
        if min==e:
            print("No")
        else:
            print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
if c%b<=0 and c//b>=a//d: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())
m=0
max=max(a,c)
for i in range(max):
    if a%d<=0 and c%b!=0:
        m=1
if m==1:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
n=0
if a%d==0:
    n==a//d
else:
    n==a//d+1
if (a-n*d)<=(c-n*b):
    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==0 and a%d==0:
    if c//b>a//d:
        print("Yes")
    if c//b==a//d:
        print("Yes")
elif c%b==0 and a%d!=0:
    print("Yes")
elif c%b!=0 and a%d==0:
    print("No")

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
if c//b<a//d:
    print("No3")
elif c%b==0 and a%d==0:
    if c//b>a//d:
        print("Yes6")
    if c//b==a//d:
        print("Yes8")
elif c%b==0 and a%d!=0:
    print("Yes")
elif c%b!=0 and a%d==0:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if C//B > A//D or B >= C:
    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())

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

Submission status: Wrong Answer

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

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)
print("Yes" if x>=y else "No")

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
takahasi = C // B
aoki = A // D
if C % B != 0:
    takahasi += 1
if A % D  != 0:
    aoki += 1 
if takahasi > 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 // B > C // D:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


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

print("Yes" if x>=y else "No")

Submission status: Wrong Answer

Solution code:
X = list(map(int,input().split()))
TA = []
AO = []

TA.append(X[0])
TA.append(X[1])
AO.append(X[2])
AO.append(X[3])

TA_life = TA[0]
TA_atack = TA[1]
AO_life = AO[0]
AO_atack = AO[1]

for _ in range(100):
    T = AO_life -TA_atack
    A = TA_life - AO_atack
    if T <= 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
a=C
while t<1 or a<1:
  t=t-D
  a=a-B
print('YNeos'[t<a::2])

Submission status: Wrong Answer

Solution code:
#https://atcoder.jp/contests/abc164/tasks/abc164_b
A,B,C,D = map(int,input().split())
senkou = C//B
koukou = A//D
if senkou <= koukou:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
#https://atcoder.jp/contests/abc164/tasks/abc164_b
A,B,C,D = map(int,input().split())
senkou = C//B
koukou = A//D

if senkou >= koukou:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
a,b,c,d=map(int,input().split())
while a>0 or c>0:
  c-=b
  if c<1:
    print("Yes")
    sys.exit()
  a-=d
print("NO")

Submission status: Wrong Answer

Solution code:
#! python3
# coding:utf-8
 
def main():
    a,b,c,d = map(int,input().split())

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C,D=input().split()
num = 0
while(int(A)>0 and int(C)>0):
    if 0<= int(A)<= 100 and 0<= int(B)<= 100 and 0<= int(C)<= 100 and 0<= int(D)<= 100:
        if num %2 ==0:
            C = int(C)-int(B)
            num += 1
        if num %2 !=0:
            A = int(A)-int(D)
            num += 1
        if int(A)<0:
            print("No")
            break

        if int(C)<0:
            print("Yes")
            break
    else:
        break

Submission status: Wrong Answer

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

while(int(A)>0 or int(C)>0):
    if 0<= int(A)<= 100 and 0<= int(B)<= 100 and 0<= int(C)<= 100 and 0<= int(D)<= 100:
        if num %2 ==0:
            C = int(C)-int(B)
            num += 1
        if num %2 !=0:
            A = int(A)-int(D)
            num += 1
        if int(A)<0:
            print("No")
            break

        if int(C)<0:
            print("Yes")
            break
    else:
        break

Submission status: Wrong Answer

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

while c >= 0 and a >= 0:
  c = c - b
  if c <= 0:
    ans += 1
  a = a - d

print("Yes" if c > a or ans == 1 else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b,c,d=[int(i) for i in input().split()]
f=0
while(a>=0 and c>=0):
    if(c<=0):
        f=c
        break
    else:
        c=c-b
    if(a<=0):
        f=a
        break
    else:
        a=a-d
if(f==c):
    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())

m = [C % B, A % D]
print('Yes' if m[0] <= m[1] else 'No')

Submission status: Wrong Answer

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

tcnt=c//b
acnt=a//d

if tcnt<=acnt:
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

Solution code:
import sys

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import ceil
a, b, c, d = map(int, input().split())
x = ceil(c/b)
y = ceil(a/d)
if x <= y+1:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
# B Battle

import math

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

t_kill_a = math.ceil(C / B)
a_kill_t = math.ceil(A / D)

if t_kill_a >= a_kill_t:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
HPa,ATa,HPb,ATb=map(int,input().split())
flag = False
for i in range(0,HPa,ATb):
  if HPb < 0:
    flag = True
  HPb = HPb - ATa
if flag:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

m1 =  A % D
m2 =  C % B

if m1 < m2:
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C,D=map(int,input().split())
t=0
a=0
for i in range(A<=0):
    A-=D*i
    t+=1
for n in range(C<=0):
    C-=B*n
    a+=1
if t<=a:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
t_p, t_a, a_p, a_a = map(int, input().split())

while t_p <= 0 or a_p <= 0:
  a_p = a_p - t_a
  t_p = t_p - a_a

print('Yes' if t_p > a_p else 'No')

Submission status: Wrong Answer

Solution code:
A,B,C,D=map(int,input().split())
count1=0
count2=0
for i in range(A<=0):
    A=A-D*i
    count1+=1
for n in range(C<=0):
    C=C-B*n
    count2+=1
if count1<=count2:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
A,B,C,D=map(int,input().split())
count1=0
count2=0
for i in range(A<=0):
    A=A-D*i
    count1+=1
for i in range(C<=0):
    C=C-B*i
    count2+=1
if count1<=count2:
    print('Yes')
else:
    print('No')

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 = list(map(int,input().split()))

t_win_turn = a // d
if a % d > 0:
  t_win_turn += 1

a_win_turn = c // b
if c % b > 0:
  a_win_turn += 1

if t_win_turn <= a_win_turn:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

if c <= 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
    a -= d

if c <= 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
    a -= d
print(c)
print(a)
if c <= 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 -= d
  if(a <= 0):
    break
  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:
 C = C - B
 if C <= 0 :
    print('Yes')
    break
 if C > 0 :
  A = A - D
  if A < 0:
    print('No')

Submission status: Wrong Answer

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

taka = a % d
ao = c % b

if taka > ao :
    print("Yes")
else :
    print("No")

Submission status: Wrong Answer

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

i, j = 0, 0

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

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

if i <= j:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
As,Aa,Bs,Ba = map(int,input().split())
Na = Bs//Aa
Nb = As//Ba

if Na <= Nb:
  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("YES")
        exit()
    A = A - D

    if A <= 0:
        print("NO")
        exit()

Submission status: Wrong Answer

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

    A = A - D
    
    if A <= 0:
        print("NO")
        exit()
    C = C - B
  
    if C <= 0:
        print("YES")
        exit()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

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

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

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 d<=0:
        print("No")
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
A,B,C,D=map(int, input().split())
m=A/D
n=C/B
if m<=n:
  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:
import math
a,b,c,d= map(int,input().split())
n=math.ceil(a/d)
m=math.ceil(b/c)
if m<=n:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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 a/d>=c/b else 'No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
tt,ta,at,aa=map(int,input().split())
 
for i in range(100):
 at-=ta 
 if at-ta>0:
    pass
 elif at-ta<=0:
    print("Yes")
    exit()
 tt-=aa
 if tt-aa>0:
    pass
 elif tt-aa<=0:
    print("No")
    exit()

Submission status: Wrong Answer

Solution code:
ta,tt,aa,at=map(int,input().split())
 
for i in range(100):
 if at-tt>0:
    at-=tt
 elif at-tt<=0:
    print("Yes")
 elif tt-aa>0:
     tt-=aa
 elif tt-aa<=0:
    print("No")

Submission status: Wrong Answer

Solution code:
tt,ta,at,aa=map(int,input().split())
 
for i in range(100):
 if at-ta>0:
    at-=ta
 elif at-ta<=0:
    print("Yes")
 elif tt-aa>0:
     tt=-aa
 elif tt-aa<=0:
    print("No")

Submission status: Wrong Answer

Solution code:
ta,tt,aa,at=map(int,input().split())
 
for i in range(100):
 if at-tt>0:
    at-=tt
 elif at-tt<=0:
    print("Yes")
 elif tt-aa>0:
     tt=-aa
 elif tt-aa<=0:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
ta_AT,ta_HP,ao_AT,ao_HP = map(int,input().split())

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

Submission status: Wrong Answer

Solution code:
ta_AT,ta_HP,ao_AT,ao_HP = map(int,input().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a , b , c , d = map(int, input().split())
# a,c = health b, d = attack
if c -b <= 0 :
  print("Yes")
elif c-b <= a- 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:
        print("No")
        break
    A=A-C
    if A<=0:
        print("Yes")
        break

Submission status: Wrong Answer

Solution code:

a,b,c,d = map(int, input().split())
cnta = 0
cntc = 0
while a <= 0:
    a -= d
    cnta += 1

while c <= 0:
    c -= b
    cntc += 1
    
if cnta >= cntc:
    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:
  if c > 0:
    c = c - b
    if 0 >= c:
      print("Yes")
    if a > 0:
      a = a - d
      if 0>= a:
        print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np
def cumsum(x):
    return list(np.cumsum(x))

def cumsum_number(N,K,x):
    ans=[0]*(N-K+1)
    number_cumsum = cumsum(x)
    number_cumsum.insert(0,0)
    for i in range(N-K+1):
        ans[i]=number_cumsum[i+K]-number_cumsum[i]
    return ans
"""
int #整数
float #小数

#for
for name in fruits: #fruitの頭から操作
    print(name)

#リスト
list0 = [] #リスト生成
list0 = [1,2,3,4] #初期化
list0 = [0]*10 #[0,0,0,0,0,0,0,0,0,0]
list1= [i for i in range(10)] #>>> [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
list1 = list(map(int, input().split()))　# 複数の入力をリストに入れる
number=[int(input()) for i in range(int(input()))] #複数行の入力をリストに
list1 = list1 + [6, 7, 8] #リストの追加
list2.append(34) #リストの追加　最後に（）内が足される
list.insert(3,10) #リストの追加　任意の位置（追加したい位置,追加したい値）
len(list4) #リストの要素数
max(sa) #list saの最小値
list5.count(2) #リスト(文字列も可）内の2の数
list1.sort() #並び替え小さい順
list1.sort(reverse=True)  #並び替え大きい順
set(list1) #list1内の重複している要素を削除し、小さい順に並べる
sum([2,3,   ,3]) #リストの合計

abs(a) #aの絶対値
max(a,b) min(a,b) #最大値　最小値
text1 = text1.replace("34","test") #text1内の"34"を"test"に書き換える(文字列内の文字を入れ替える)

exit(0) #強制終了

cumsum(リスト) #累積和をリストで返す
cumsum_number(N,K,x) #N個の数が含まれるリストx内のK個からなる部分和をリストで返す
"""
A,B,C,D=map(int,input().split())
aoki=D
takahashi=A
while True:
    aoki = aoki-B
    if aoki<=0:
        print("Yes")
        exit(0)
    takahashi= takahashi-D
    if takahashi<=0:
        print("No")
        exit(0)

Submission status: Wrong Answer

Solution code:
a_st = input().split()
a = [int(i) for i in a_st]
while a[1]>0 & a[3]>0:
    a[3]-=a[2]
    if a[3]>0:
        a[1]-=a[4]
    else:
        print('Yes')
        exit()
print('No')

Submission status: Wrong Answer

Solution code:
a_st = input().split()
a = [int(i) for i in a_st]
while a[1]>0 & a[3]>0:
    a[3]-=a[2]
    if a[3]>0:
        a[1]-=a[4]
    else:
        print('Yes')
print('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())


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

x = (c+b-1)//b
y = (a+d-1)//d

if x >= y:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

x = (d+b-1)//b
y = (c+a-1)//a

if x >= y:
    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 y<x:
    print('Yes')
elif y==x or y==x+1:
    if c%b==0:
        print('Yes')
    else:
        if a%d==0:
            print('No')
        else:
            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 y<x:
    print('Yes')
elif y==x:
    if c%b==0:
        print('Yes')
    else:
        if a%d==0:
            print('No')
        else:
            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(100):
    if C-B*i <=0:
        print('Yes')
        exit()
    elif A-D*i <=0:
        print('No')
        exit()

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

Submission status: Wrong Answer

Solution code:
from sys import stdin, stdout
a, b, c ,d = map(int, stdin.readline().strip().split())
from math import ceil
x = ceil(a/d)
y = ceil(b/c)

if x>=y:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
from sys import stdin, stdout
a, b, c ,d = map(int, stdin.readline().strip().split())
from math import ceil
x = ceil(a/b)
y = ceil(b/c)

if x>=y:
    print('Yes')
else:
    print('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())
ans = "Yes"
curB = B
curD = D
for i in range(max(B,D)):
  curD = curD-A
  if(curD<=0):
    ans = "Yes"
    break
  curB = curB-C
  if(curB<=0):
    ans = "No"
    break
print(ans)

Submission status: Wrong Answer

Solution code:
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()  # ignore trailing spaces

a,b,c,d = na()

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

Submission status: Wrong Answer

Solution code:
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()  # ignore trailing spaces

a,b,c,d = na()

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