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:
t_hp_str,t_atack_str,a_hp_str,a_atack_str= input().split()
t_hp = int(t_hp_str)
t_atack = int(t_atack_str)
a_hp=int(a_hp_str)
a_atack = int(a_atack_str)

for num in range(t_hp):
  if num%2 == 0:
    a_hp = a_hp - t_atack
    if a_hp <= 0:
      print("Yes")
      break
  else:
    t_hp = t_hp - a_atack
    if t_hp <= 0:
      print("No")
      break

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
#A,C:体力, B,D:攻撃力
cnt = 0
while A <= 0 or 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())
#A,C:体力, B,D:攻撃力
cnt = 0
while A < 0 or 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:
from math import ceil
A, B, C, D = map(int, input().split())

if (ceil(C/B) -1 <= ceil(A/D)):
  print("Yes")

else:
  print("No")

Submission status: Wrong Answer

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

print(ceil(C/B) -1 ,ceil(A/D))
if (ceil(C/B) <= ceil(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 = 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())

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
A, B, C, D = [int(x) for x in input().split()]
run = True
while run:
    C -= B
    if C <= 0:
        run = False
        result = "Yes"
        continue
    A -= D
    if A <= 0:
        run = False
        result = "No"
        continue

Submission status: Wrong Answer

Solution code:
A, B, C, D = [int(x) for x in input().split()]
t = A // D#HPが０になるもしくはギリギリの回数9
a = C // B#10大きいほうが勝利，同じ場合は高橋の勝利
if t >= a:#たかはしが倒されるほうがターン数は多くかかる
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
A, B, C, D = [int(x) for x in input().split()]
t = A // D#HPが０になるもしくはギリギリの回数
a = C // B
if t > a:#たかはしが倒されるほうがターン数は多くかかる
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
A, B, C, D = [int(x) for x in input().split()]
t = A // D#HPが０になるもしくはギリギリの回数
a = C // B
if t >= a:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
A, B, C, D = [int(x) for x in input().split()]
t = A // D#HPが０になるもしくはギリギリの回数
a = C // B
if t >= a:
    print("yes")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
A, B, C, D = [int(x) for x in input().split()]
while True:
    C -= B
    if C <= 0:
        result = "yes"
        break
    A -= D
    if D <= 0:
        result = "no"
        break
print(result)

Submission status: Wrong Answer

Solution code:
Taka_T,Taka_A,Aoki_T,Aoki_A= map(int, input("高橋体力_高橋攻撃_青木体力_青木攻撃 > ").split())

while True:
    Aoki_T = Aoki_T - Taka_A
    Taka_T = Taka_T - Aoki_A
    if Aoki_T <= 0:
        print("Yes")
        break
    elif Taka_T <= 0:
        print("No")
        break

Submission status: Wrong Answer

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

#小数点に注意
#今回の場合は切り上げすること
n = math.ceil(A / D)
m = math.ceil(C / A)
if n >= m:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

n = A // D
m = C // A
if n >= m:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

n = A / D
m = C / A
if n >= m:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

for i in range(1000) :
    a=a-d
    if a>0:
        c=c-b
        if c>0:
            continue
        else: #c<=0
            print('Yes')
            break
    else: #a<=0
        print('No')
        break

Submission status: Wrong Answer

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

for i in range(1000) :
    a=a-d
    if a>0:
        c=c-d
        if c>0:
            continue
        else: #c<=0
            print('Yes')
            break
    else: #a<=0
        print('No')
        break

Submission status: Wrong Answer

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

for i in range(1000) :
    a=a-d
    if a>0:
        c=c-d
        if c>0:
            continue
        else: #c<=0
            print('Yes')
            exit()
    else: #a<=0
        print('No')
        exit()

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
if a <= 0:
  print("NO")
else:
  c = c - b
  if c <= 0:
    print("YES")
  else:
    a = a - d
    if a <= 0:
      print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

s = a/d
k = c/b

if s >= k:
  print("yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
if b//c < a//d:  # //は商、%は余り
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
if b//c > a//d:  # //は商、%は余り
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
if b//c > a//d:  # //は商、%は余り
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
# AtCoder
A, B, C, D = map(int, input().split())
thp = (A+D-1)/D
ahp = (C+B-1)/B
if thp >= ahp:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
# AtCoder
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())
n = 0
m = 0

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

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

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

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

for i in range(1, 101):
  if i%2 != 0:
    C=C-B
    if C <=0:
      print('Yes')
      exit(0)
  else:
    A=A-D
    if A <=0:
      print('No')
      exit(0)

Submission status: Wrong Answer

Solution code:
nums = [int(e) for e in input().split()]

if nums[2]%nums[1] == 0:
    A = nums[2]%nums[1]
else:
    A = nums[2]%nums[1] + 1

if nums[0]%nums[3] == 0:
    T = nums[0]%nums[3]
else:
    T = nums[0]%nums[3] + 1
 
if A <= T:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
[A, B, C, D] = list(map(int, input().split()))
X = A / D
Y = C / B
if (X - Y) > 1:
    print('Yes')
else:
    if Y > X:
        print('No')
    else:
        print('Yes')

Submission status: Wrong Answer

Solution code:
[A, B, C, D] = list(map(int, input().split()))
X = A / D
Y = C / B
if (Y - X) > 1 or (X < 0 and Y < 0):
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

Solution code:
[A, B, C, D] = list(map(int, input().split()))
X = A / D
Y = C / B
if X < Y or (X < 0 and Y < 0):
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

Solution code:
[A, B, C, D] = list(map(int, input().split()))
X = int(A / D)
Y = int(C / B)
if X >= Y:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
[A, B, C, D] = list(map(int, input().split()))
X = A / D
Y = C / B
if X >= Y:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
[A, B, C, D] = list(map(int, input().split()))
X = A / D
Y = C / B
if X <= Y:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
[A, B, C, D] = list(map(int, input().split()))
X = A / D
Y = B / C
if X >= Y:
    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")
    break
  a = a - d
  if a < 0:
    print("No")
    break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
if a/d>c/b:
    print('Yes')
elif a/d+1==c/b:
    if c%d==0:
        print('Yes')
    else:
        print('No')
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())
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())
if (a+d-1)/d>=(c+d-1)/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>=c//b:
    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:
#2020-5-11作成

A, B, C, D = ( int(x) for x in input().split() )

while (A > 0) and (C > 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())
T = True
while a > 0 and c > 0:
    if T:
        c -= b
    else:
        a -= d
    T = not T

print("Yes" if a else "No")

Submission status: Wrong Answer

Solution code:
class Monster:
    def __init__(self, atk, hp):
        self.atk = atk
        self.hp = hp

    def atk_to(self, other):
        other.hp -= self.atk

    def is_dead(self):
        return self.hp <= 0


def main(a, b, c, d):
    tkhs = Monster(a, b)
    aok = Monster(c, d)
    monsters = (tkhs, aok)
    for i in range(1000):
        if i % 2 == 0:
            atk = monsters[0]
            dfd = monsters[1]
        else:
            atk = monsters[1]
            dfd = monsters[0]
        atk.atk_to(dfd)
        if dfd.is_dead():
            break

    if aok.is_dead():
        return 'Yes'
    else:
        return 'No'


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i = list(map(int, input().split()))
if int(i[2]/i[1]) <= int(i[0]/i[3]):
	if  int(i[0]%i[3]) == 0:
		print("No")
	else :
		print("Yes")		#takahashi 
else:
	print("no")		#takahashi

print(int(i[2]/i[1]) , int(i[0]/i[3]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print("no")

Submission status: Wrong Answer

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

while(A or C != 0):
    A = A - D
    if(A == 0):
        print("No")
        break
    C = C - B
    if(C == 0):
        print("Yes")
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

while A < 0 or C < 0:
  C -= B
  if C < 0:
    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())
print('YNeos'[a//d<c//b::2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
nums = [int(e) for e in input().split()]
a = nums[0] // nums[3]
b = nums[2] // nums[1]
c = nums[0] % nums[3]
d = nums[2] % nums[1]

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

Submission status: Wrong Answer

Solution code:
nums = [int(e) for e in input().split()]
a = nums[0] // nums[3]
b = nums[2] // nums[1]

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

Submission status: Wrong Answer

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

while A and C !=0:
    C= abs(C-B)
    if C==0:
        print("Yes")
    A= abs(A-D)
    if A==0:
        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")
        break
    A-= D
    if A<=0:
        print("NO")
        break

Submission status: Wrong Answer

Solution code:
A,B,C,D=map(int,input().split())
 
while True:
    C= abs(C-B)
    if C<=0:
        print("YES")
        break
    A= abs(A-D)
    if A<=0:
        print("NO")
        break

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
n = 1
while A > 0 and C > 0:
  if n % 2 == 1:
    C = C - B
    ans = "Yes"
    n = n + 1
  else:
    A = A - D
    ans = "NO"
    n = n + 1
    
print(ans)

Submission status: Wrong Answer

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

c1 = (C+B-1) // B  # 高橋君が何回攻撃したら青木君のHPが０になるか
c2 = (A+D-1) // D

print(c2, c2)

if c1 == c2:
    ans = 'Yes'
elif c1 < c2:
    ans = 'Yes'
else:
    ans = 'No'

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

while A and C !=0:
    C= abs(C-B)
    if C==0:
        print("YES")
    A= abs(A-D)
    if A==0:
        print("NO")

Submission status: Wrong Answer

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

while A and C !=0:
    C= abs(C-B)
    if C==0:
        print("YES")
    A= abs(A-D)
    if A==0:
        print("NO")

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
x=float(a/d)
y=float(c/b)
 
if x>=y:
  print("yes")
elif 0<y-x<=1:
  print("yes")
else:
  print("no")

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
x=float(a/d)
y=float(c/b)
 
if x>=y:
  print("yes")
elif 0<y-x<1:
  print("yes")
else:
  print("no")

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
x=float(a/d)
y=float(c/b)
 
if x>=y:
  print("yes")
elif 0<x-y<1:
  print("yes")
else:
  print("no")

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
x=int((a+d-1)/d)
y=int((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())
x=int((a-1)/d)
y=int((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())
x=float((a+d-1)/d)
y=float((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())
x=float(a-1/d)
y=float(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())
x=int(a/d)
y=int(c/b)

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

import math

T = math.ceil(A / D)
M = math.ceil(C / B)

if T > M:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int,input().split())
if c//(b+1) <= a//(d+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())
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:
import math

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

A = int(A)
B = int(B)
C = int(C)
D = int(D)

E = math.ceil(C/A)
F = math.ceil(D/B)

if E <= F:
    print('Yes',"")
else:
    print('No',"")

Submission status: Wrong Answer

Solution code:
import math

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

A = int(A)
B = int(B)
C = int(C)
D = int(D)

E = math.ceil(C/A)
F = math.ceil(D/B)

if E <= F:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

cb = (c//b)
ad = (a//d)
if ad < cb :
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

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

cb = (c//d)
ad = (a//d)
if ad < cb :
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

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

cb = math.ceil(c//d)
ad = math.ceil(a//d)
if ad < cb :
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

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

cb = math.ceil(c/d)

ad = math.ceil(a/d)
if ad < cb :
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

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

cb = math.ceil(c/d)

ad = math.ceil(a/d)
if ad < cb :
    print('No')

elif  ad < cb:
    print('Yes')
else:
    print('Yes')

Submission status: Wrong Answer

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

cb = c // b +1

ad = a // d +1
if ad < cb :
    print('No')

elif  ad < cb:
    print('Yes')
else:
    print('Yes')

Submission status: Wrong Answer

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

cd = c // b +1

ad = a // d +1
if ad < cd :
    print('No')

elif  ad < cd:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

cd = c // b +1

ad = a // d +1
if ad < cd :
    print('No')

elif  ad < cd:
    print('Yes')
else:
    print('Yes')

Submission status: Wrong Answer

Solution code:
import math
a,b,c,d=map(int,input().split())
e=math.ceil(c/b)
f=math.ceil(a/d)
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())
x=0
y=0
x = int(-(-a//d))
y = int(-(-c//b))
print(x,y)
if x < y :
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if (C + B - 1) // C <= (A + D - 1) // D:
    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
  C -= B
  if C <= 0:
    print("No")
    break

Submission status: Wrong Answer

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

turn = False

while A > 0 and C > 0:
  if turn:
    C -= B
  else:
    A -= D
  
  turn = not turn

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

Submission status: Wrong Answer

Solution code:
import sys
sys.setrecursionlimit(10**7)
input = lambda: sys.stdin.readline().strip()

def main():
    A,B,C,D = map(int,input().split())
    takahashi_num = C/B if C%B==0 else C/B+1
    aoki_num = A/D if A%D==0 else A/D+1
    print("Yes" if takahashi_num==1 or takahashi_num<=aoki_num else "No")

main()

Submission status: Wrong Answer

Solution code:
import sys
sys.setrecursionlimit(10**7)
input = lambda: sys.stdin.readline().strip()

def main():
    A,B,C,D = map(int,input().split())
    takahashi_num = C/B if C%B==0 else C/B+1
    aoki_num = A/D if A%D==0 else A/D+1
    print("Yes" if takahashi_num<=aoki_num else "No")

main()

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("Yes" if c <= 0 else "No")

Submission status: Wrong Answer

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

a = math.ceil(a/d)
b = math.ceil(b/c)
if a<b:
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

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

a = math.ceil(a/d)
b = math.ceil(b/c)
if a<=b:
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

Solution code:
taka_f,taka_p,aoki_f,aoki_p = map(int,input().split())
taka_life_span = -(-taka_f//aoki_p)
aoki_life_span = -(-aoki_f//taka_p)
print("Yes" if taka_life_span > aoki_life_span else "No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b,c,d = [int(i) for i in input().split(" ")]
attack_round_a = c // b if c % b != 0 else c // b + 1
attack_round_b = a // d if a % d != 0 else a // d + 1
print('Yes' if attack_round_a <= b else 'No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if int(c)/int(b) <= int(a)/int(d):
	print('Yes')
else:
  	print('No')

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
while B or D <= 0:
    if C - B <= 0:
        print("YES")
        break
    else:
        C -= B
        if A - D <= 0:
            print("NO")
            break
        else:
            A -=D

Submission status: Wrong Answer

Solution code:
[A, B, C, D] = list(map(int, input().split()))
aoki = C // B
aoki_a = C % B
taka = A // D
taka_a  = A % D
if taka > aoki:
  print("Yes")
elif taka == aoki:
  if taka_a == 0:
    print("No")
  else:
    print("Yes")
else:
  if aoki_a == 0:
    print("Yes")
  else:
    print("No")

Submission status: Wrong Answer

Solution code:
[A, B, C, D] = list(map(int, input().split()))
taka = A // D
aoki = C // B
if taka < aoki:
  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
    a = a - d

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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