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:
"""
// Author : snape_here - Susanta Mukherjee
     
 """
 
from __future__ import division, print_function
 
import os,sys
from io import BytesIO, IOBase
 
if sys.version_info[0] < 3:
    from __builtin__ import xrange as range
    from future_builtins import ascii, filter, hex, map, oct, zip
 
 
def ii(): return int(input())
def si(): return input()
def mi(): return map(int,input().split())
def li(): return list(mi())
 
 
def read():
    sys.stdin = open('input.txt', 'r')  
    sys.stdout = open('output.txt', 'w') 
 
def gcd(x, y):
    while y:
        x, y = y, x % y
    return x

def lcm(a , b):
    return (a*b)//gcd(a,b)

mod=1000000007

import math

import bisect

abc="abcdefghijklmnopqrstuvwxyz"

def main():

    a,b,c,d=mi()
    x=int(math.ceil(c/b)) 
    y=int(math.ceil(a/d))
    if y>=x:
        print("YES")
    else:
        print("NO")

# region fastio

 
BUFSIZE = 8192
 
 
class FastIO(IOBase):
    newlines = 0
 
    def __init__(self, file):
        self._fd = file.fileno()
        self.buffer = BytesIO()
        self.writable = "x" in file.mode or "r" not in file.mode
        self.write = self.buffer.write if self.writable else None
 
    def read(self):
        while True:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            if not b:
                break
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines = 0
        return self.buffer.read()
 
    def readline(self):
        while self.newlines == 0:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            self.newlines = b.count(b"\n") + (not b)
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines -= 1
        return self.buffer.readline()
 
    def flush(self):
        if self.writable:
            os.write(self._fd, self.buffer.getvalue())
            self.buffer.truncate(0), self.buffer.seek(0)
 
 
class IOWrapper(IOBase):
    def __init__(self, file):
        self.buffer = FastIO(file)
        self.flush = self.buffer.flush
        self.writable = self.buffer.writable
        self.write = lambda s: self.buffer.write(s.encode("ascii"))
        self.read = lambda: self.buffer.read().decode("ascii")
        self.readline = lambda: self.buffer.readline().decode("ascii")
 
 
def print(*args, **kwargs):
    """Prints the values to a stream, or to sys.stdout by default."""
    sep, file = kwargs.pop("sep", " "), kwargs.pop("file", sys.stdout)
    at_start = True
    for x in args:
        if not at_start:
            file.write(sep)
        file.write(str(x))
        at_start = False
    file.write(kwargs.pop("end", "\n"))
    if kwargs.pop("flush", False):
        file.flush()
 
 
if sys.version_info[0] < 3:
    sys.stdin, sys.stdout = FastIO(sys.stdin), FastIO(sys.stdout)
else:
    sys.stdin, sys.stdout = IOWrapper(sys.stdin), IOWrapper(sys.stdout)
 
input = lambda: sys.stdin.readline().rstrip("\r\n")
 
# endregion
 
 
if __name__ == "__main__":
    #read()
    main()

Submission status: Wrong Answer

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

x,y=a//d,c//b
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/d+int(bool(a % d)) >= c/b+int(bool(c % b)) else 'No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

[a,b,c,d] = list(map(int, input().strip().split()))

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

if x >= y:
	print("yes")
else:
	print("no")

Submission status: Wrong Answer

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

TA = int(A / D)
AO = int(C / B)
TAA = A % D
AOO = C % B
if TA < AO:
    print('Yes')
elif TA == AO:
    if TAA == 0:
        print('No')
    else:
        print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

n = int(A/D)
m = int(C/B)

if n>=m:
    print('No')
elif n<m:
    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')
        break
    elif C<=0:
        print('Yes')
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

TA = int(A / D)
AO = int(C / B)
TAA = A & D
AOO = C % B
if TA < AO:
    print('Yes')
elif TA == AO:
        print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
taka_life, taka_at, aoki_life, aoki_at = list(map(int, input().split())) 

a = int(taka_life/aoki_at)
b = int(aoki_life/taka_at)

if a > b:
  print("Yes")
elif b > a:
  print("No")

Submission status: Wrong Answer

Solution code:
taka_life, taka_at, aoki_life, aoki_at = list(map(int, input().split())) 
num=1
for i in range(10000):
  if num % 2 != 0:
    aoki_life -= taka_at
  elif num % 2 == 0:
    taka_life -= aoki_at
    
  if taka_life <= 0:
    print("No")
    break
  elif aoki_life <= 0:
    print("Yes")
    break

Submission status: Wrong Answer

Solution code:
taka_life, taka_at, aoki_life, aoki_at = list(map(int, input().split())) 
num=1
for i in range(100000):
  if num % 2 != 0:
    aoki_life -= taka_at
  elif num % 2 == 0:
    taka_life -= aoki_at
    
  if taka_life <= 0:
    print("No")
    break
  elif aoki_life <= 0:
    print("Yes")
    break

Submission status: Wrong Answer

Solution code:
taka_life, taka_at, aoki_life, aoki_at = list(map(int, input().split())) 
num=1
while(True):
  if num % 2 != 0:
    aoki_life -= taka_at
  elif num % 2 == 0:
    taka_life -= aoki_at
    
  if taka_life <= 0:
    print("No")
    break
  elif aoki_life <= 0:
    print("Yes")
    break

Submission status: Wrong Answer

Solution code:
taka_life, taka_at, aoki_life, aoki_at = list(map(int, input().split())) 
num=1
while(True):
  if num % 2 != 0:
    aoki_life -= taka_at
  elif num % 2 == 0:
    taka_life -= aoki_at
    
  if taka_life <= 0:
    print("No")
    break
  elif aoki_life <= 0:
    print("Yes")
    break

Submission status: Wrong Answer

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

takahashi_hp = (a + d - 1) // d
aoki_hp = (b + c - 1) // c

if takahashi_hp >= aoki_hp:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

takahashi_hp = a // d
aoki_hp = b // c

if takahashi_hp >= aoki_hp:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:

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

takahashi_hp = a / d
aoki_hp = b / c

if takahashi_hp >= aoki_hp:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

print("Yes" if abs(A-D) >= abs(B-C) else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C,D=map(int,input().split())
#Aは高橋体力、Cは青木体力
#Bは高橋攻撃,Dは青木攻撃
while(1):
    C=C-B
    print("C:",C)
    if C <= 0:
        print("Yes")
        break
    A=A-D
    print("A:",A)
    if A <= 0:
        print("No")
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C,D=map(int,input().split())
#Aは高橋体力、Cは青木体力
#Bは高橋攻撃,Dは青木攻撃
while(1):
    C=C-B
    print("C:",C)
    A=A-D
    print("A:",A)

    if C <= 0:
        print("Yes")
        break

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

Submission status: Wrong Answer

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

n = int(A/D)
m = int(C/B)
a = C
t = A


if n>m:
    x = n
else :
    x = m
    
for i in range(1, x+1):
    a = a - B
    t = t - D
    if a <= 0:
        print('Yes')
        break 
    elif t <= 0:
        print('No')
        break

Submission status: Wrong Answer

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

n = int(A/D)
m = int(C/B)
i = 1
a = C
t = A


if n>m:
    x = n
else :
    x = m
    
for i in range(1, x+1):
    a = a - B
    t = t - D
    if a <= 0:
        print('Yes')
        break 
    elif t <= 0:
        print('No')
        break

Submission status: Wrong Answer

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

n = int(A/D)
m = int(C/B)
i = 1
a = C
t = A


if n>m:
    x = n
else :
    x = m
    
for i in range(1, x+1):
    a = a - B
    t = t - D
    if a <= 0:
        break 
    elif t <= 0:
        break
    
    
if a <= 0:
    print('Yes')
elif t <= 0:
    print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

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

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 = map(int, input().split())
if (a-1)//d >= (b-1)//c:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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


taka_turn = C//B
taka_para = C%B
if taka_para > 0 :
    taka_turn = taka_turn + 1

ao_turn = A//B
ao_para = A%D
if ao_para > 0 :
    ao_turn = ao_turn + 1

if ao_turn >= taka_turn :
    print('Yes')
if taka_turn > ao_turn :
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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
    else:
        print("yes")
    if a<=0:
        print("no")

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
    else:
        print("yes")
    if a<0:
        print("no")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

n1 = C/B
n2 = A/D

if n1<=n2:
    print("Yes")
elif n1 - int(n1)==0:
    if n1-n2<1:
        print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

n1 = C/B
n2 = A/D

if n1<=n2:
    print("Yes")
elif n1 == int(n1):
    if n1-n2<1:
        print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
x,y,z,w=map(int,input().split())

if z//y<=x//w and x%w!=0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

n1 = C/B
n2 = A/D

if n1<=n2 or n1-int(n1) == 0 and n1-n2<1:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

n1 = C/B
n2 = A/D

if n1 <= n2:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

n1 = C/B
n2 = A/D

if n1 <= n2 + 1:
    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:
I = input("")
i = I.split(" ")
A = int(i[0])
B = int(i[1])
C = int(i[2])
D = int(i[3])

n1 = C/B
n2 = A/D

if n1 < n2 + 1:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

n1 = C/B
n2 = A/D

if n1 < n2:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

n1 = D/A
n2 = B/C

if n1 < n2:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
for _ in range(100):
    a-=d
    c-=b
    if b<1:
        print("Yes")
        exit()
    if a<1:
        print("No")
        exit()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main():
  A, B, C, D = map(int, input().split())
  print(A, C)
  while True:
    C -= B
    if C <1:
      print('Yes')
      break
    A -= D
    if A <1:
      print('No')
      break

if __name__ == '__main__':
  main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

X = A//D
Y = C//B
if X > Y:
  print('Yes')
    
elif Y > X:
  print('No')

else:
  print('Yes')

Submission status: Wrong Answer

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

X = A//D
Y = C//B
if X > Y:
  print('Yes')
    
elif Y > X:
  print('No')

elif X ==Y:
  print('Yes')

Submission status: Wrong Answer

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

X = A/D
Y = C/B
if X > Y:
  print('Yes')
    
elif Y > X:
  print('No')

else:
  print('Yes')

Submission status: Wrong Answer

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

X = A/D
Y = C/B
if X > Y:
  print('Yes')
    
elif Y > X:
  print('No')

elif X ==Y:
  print('Yes')

Submission status: Wrong Answer

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

X = A/D
Y = B/C
if X > Y:
  print('Yes')
    
elif Y > X:
  print('No')

else:
  print('Yes')

Submission status: Wrong Answer

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

X = A/D
Y = C/B
if X > Y:
  print('Yes')
    
elif Y > X:
  print('No')

elif X ==Y:
    print('Yes')

Submission status: Wrong Answer

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

X = A/D
Y = B/C
if X > Y:
  print('Yes')
    
elif Y > X:
  print('No')

elif X ==Y:
    print('Yes')

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

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

X = A//D
Y = C//B
if X > Y:
  print('Yes')
    
elif Y >= X:
  print('No')

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

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

X = A//D
Y = C//B
if X >= Y:
  print('Yes')
    
elif Y > X:
  print('No')

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

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

X = A/D
Y = C/B
if X >= Y:
  print('Yes')
    
elif Y > X:
  print('No')

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

input_line = input().split()
A_HP = int(input_line[0])
A_ATTACK = int(input_line[1])
B_HP = int(input_line[2])
B_ATTACK = int(input_line[3])

X = A_HP//B_ATTACK
Y = B_HP//A_ATTACK
if X >= Y:
  print('Yes')
    
elif Y > X:
  print('No')

else:
  print('Yes')

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

input_line = input().split()
A_HP = int(input_line[0])
A_ATTACK = int(input_line[1])
B_HP = int(input_line[2])
B_ATTACK = int(input_line[3])

X = A_HP//B_ATTACK
Y = B_HP//A_ATTACK
if X >= Y:
    print('Yes')
    
elif Y > X:
    print('No')

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

input_line = input().split()
A_HP = int(input_line[0])
A_ATTACK = int(input_line[1])
B_HP = int(input_line[2])
B_ATTACK = int(input_line[3])

X = A_HP/B_ATTACK
Y = B_HP/A_ATTACK
if X >= Y:
    print('Yes')
    
elif Y > X:
    print('No')

else:
    print('No')

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

input_line = input().split()
A_HP = int(input_line[0])
A_ATTACK = int(input_line[1])
B_HP = int(input_line[2])
B_ATTACK = int(input_line[3])

X = A_HP/B_ATTACK
Y = B_HP/A_ATTACK
if X >= Y:
    print('Yes')
    
elif Y > X:
    print('No')

else:
    print('Yes')

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

input_line = input().split()
A_HP = int(input_line[0])
A_ATTACK = int(input_line[1])
B_HP = int(input_line[2])
B_ATTACK = int(input_line[3])

X = A_HP/B_ATTACK
Y = B_HP/A_ATTACK
if X >= Y:
    print('Yes')
    
elif Y > X:
    print('No')

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

input_line = input().split()
A_HP = int(input_line[0])
A_ATTACK = int(input_line[1])
B_HP = int(input_line[2])
B_ATTACK = int(input_line[3])

X = A_HP/B_ATTACK
Y = B_HP/A_ATTACK
if X >= Y:
    print('Yes')
    
elif Y >= X:
    print('No')
    
elif X == Y:
    print('Yes')

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

input_line = input().split()
A_HP = int(input_line[0])
A_ATTACK = int(input_line[1])
B_HP = int(input_line[2])
B_ATTACK = int(input_line[3])

while A_HP >= 0 or B_HP >= 0:
    A_HP -=B_ATTACK
    B_HP -= A_ATTACK

    if A_HP <= B_HP:
        print('No')
        break
    
    elif A_HP <= B_HP:
        print('Yes')
        break
    
    else:
        print('Yes')
        break

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

input_line = input().split()
A_HP = int(input_line[0])
A_ATTACK = int(input_line[1])
B_HP = int(input_line[2])
B_ATTACK = int(input_line[3])

while A_HP >= 0 or B_HP >= 0:
    A_HP -=B_ATTACK
    B_HP -= A_ATTACK

    if A_HP <= 0:
        print('No')
        break
    
    elif B_HP <= 0:
        print('Yes')
        break
    
    else:
        print('Yes')
        break

Submission status: Wrong Answer

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

while h1 > 0 and h2 > 0 :

    h2 -= s1
    h1 -= s2

    if h1 > h2 :
        print('Yes')
        break
    else:
        print('No')
        break

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

input_line = input().split()
A_HP = int(input_line[0])
A_ATTACK = int(input_line[1])
B_HP = int(input_line[2])
B_ATTACK = int(input_line[3])

while A_HP >= 0 or B_HP >= 0:
    A_HP -=B_ATTACK
    B_HP -= A_ATTACK

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

input_line = input().split()
A_HP = int(input_line[0])
A_ATTACK = int(input_line[1])
B_HP = int(input_line[2])
B_ATTACK = int(input_line[3])

while A_HP >= 0 or B_HP >= 0:
    A_HP -=B_ATTACK
    B_HP -= A_ATTACK

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

input_line = input().split()
A_HP = int(input_line[0])
A_ATTACK = int(input_line[1])
B_HP = int(input_line[2])
B_ATTACK = int(input_line[3])

while A_HP >= 0 or B_HP >= 0:
    A_HP -=B_ATTACK
    B_HP -= A_ATTACK

    if A_HP <= 0:
        print("NO")
        break
    
    else:
        print("YES")
        break

Submission status: Wrong Answer

Solution code:
#abc164a

a,b,c,d=map(int,input().split())
x=(a+d-1)/d
y=(c+b-1)/b
if x>=y:
 print('Yes')
else:
 print('No')

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Spyderエディタ

これは一時的なスクリプトファイルです
"""

strT, pwT, strA, pwA = map(int, input().split())

while strT > 0 or strA > 0:
    strA -= pwT
    if strA <= 0:
        break
    strT -= pwA
    print(strT, strA)

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

Submission status: Wrong Answer

Solution code:
ad,ao,bd,bo=map(int,input().split())
aTurn=int(float(ad)/bo)*2+1
bTurn=int(float(bd)/ao)*2
if aTurn>bTurn:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
ao,ad,bo,bd=map(int,input().split())
aTurn=int(float(ad)/bo)*2+1
bTurn=int(float(bd)/ao)*2
if aTurn>bTurn:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
h_1,a_1,h_2,a_2 = map(int,input().split())

h_2//a_1
h_1//a_2

if h_2%a_1!=0 and h_1%a_2!=0:
    if h_2//a_1 >= h_1//a_2:
        print("Yes")
    else:
        print("No")
elif h_2%a_1!=0 and h_1%a_2==0:
    if h_2//a_1 > h_1//a_2:
        print("Yes")
    else:
        print("No")
elif h_2%a_1==0 and h_1%a_2!=0:
    if h_2//a_1+1 >= h_1//a_2:
        print("Yes")
    else:
        print("No")
else:
    if h_2//a_1 >= h_1//a_2:
        print("Yes")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:

h_1,a_1,h_2,a_2 = map(int,input().split())

h_2//a_1
h_1//a_2

if h_2%a_1!=0 and h_1%a_2!=0:
    if h_2//a_1 >= h_1//a_2:
        print("Yes")
    else:
        print("No")
elif h_2%a_1!=0 and h_1%a_2==0:
    if h_2//a_1 > h_1//a_2:
        print("Yes")
    else:
        print("No")
elif h_2%a_1==0 and h_1%a_2!=0:
    if h_2//a_1 >= h_1//a_2+1:
        print("Yes")
    else:
        print("No")
else:
    if h_2//a_1 >= h_1//a_2:
        print("Yes")
    else:
        print("No")

Submission status: Wrong Answer

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

takahashi_turn = True

while B > 0 or C > 0:
    if takahashi_turn is True:
        C -= A
        takahashi_turn = False
    else:
        B -= D
        takahashi_turn = True

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

Submission status: Wrong Answer

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

takahashi_turn = True

while B > 0 or D > 0:
    if takahashi_turn is True:
        D -= A
        takahashi_turn = False
    else:
        B -= C
        takahashi_turn = True
        
if B > 0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int,input().split())
cnt = 0
while a < 0 or c < 0:
  if cnt%2==0:
    c -= a
  else:
    b -= d
  cnt += 1
if a < 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")