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

Submission status: Wrong Answer

Solution code:

def solve():
    a,b,c,d=map(int,input().split())
    i=0
    while(a>0 and c>0):
        if i%2==0:
            c-=b
        else:
            a-=d
        i+=1
    if(c<0):
        print('Yes')
    else:
        print('No')
solve()

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:

def solve():
    a,b,c,d=map(int,input().split())
    # i=0
    # while(a>0 and b>0 and c>0 and d>0):
    #     print(a,b,c,d)
    #     if(i%2==0):
    #         if(a<b):
    #             if(c>d):
    #                 c=c-b
    #             else:
    #                 d=d-b
    #         else:
    #             if(c>d):
    #                 c=c-a
    #             else:
    #                 d=d-a
    #     else:
    #         if(c<d):
    #             if(a>b):
    #                 a=a-d
    #             else:
    #                 b=b-d
    #         else:
    #             if(a>b):
    #                 a=a-c
    #             else:
    #                 b=b-c
    #     i+=1
    if(a+b>=c+d or max(a,b)>max(c,d)):
        print('Yes')
    else:
        print('No')
solve()

Submission status: Wrong Answer

Solution code:

def solve():
    a,b,c,d=map(int,input().split())
    # i=0
    # while(a>0 and b>0 and c>0 and d>0):
    #     print(a,b,c,d)
    #     if(i%2==0):
    #         if(a<b):
    #             if(c>d):
    #                 c=c-b
    #             else:
    #                 d=d-b
    #         else:
    #             if(c>d):
    #                 c=c-a
    #             else:
    #                 d=d-a
    #     else:
    #         if(c<d):
    #             if(a>b):
    #                 a=a-d
    #             else:
    #                 b=b-d
    #         else:
    #             if(a>b):
    #                 a=a-c
    #             else:
    #                 b=b-c
    #     i+=1
    if(a+b<=c+d):
        print('No')
    else:
        print('Yes')
solve()

Submission status: Wrong Answer

Solution code:

def solve():
    a,b,c,d=map(int,input().split())
    # i=0
    # while(a>0 and b>0 and c>0 and d>0):
    #     print(a,b,c,d)
    #     if(i%2==0):
    #         if(a<b):
    #             if(c>d):
    #                 c=c-b
    #             else:
    #                 d=d-b
    #         else:
    #             if(c>d):
    #                 c=c-a
    #             else:
    #                 d=d-a
    #     else:
    #         if(c<d):
    #             if(a>b):
    #                 a=a-d
    #             else:
    #                 b=b-d
    #         else:
    #             if(a>b):
    #                 a=a-c
    #             else:
    #                 b=b-c
    #     i+=1
    if(a+b<c+d):
        print('No')
    else:
        print('Yes')
solve()

Submission status: Wrong Answer

Solution code:
hT, sT, hA, sA = map(int, input().split())
win = ''
while True:
    hA = hA-sT
    if hA <= 0:
        win = 'yes'
        break
    hT = hT - sA
    if hT <= 0:
        win = 'no'
        break
print(win)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

Solution code:

a,b,c,d = map(int, input().split())
if(c//b>a//d):
    print('Yes')
else:
    print('no')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

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

Submission status: Wrong Answer

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

if(c//b>=a//d):
    print('no')
else:
    print('yes')

Submission status: Wrong Answer

Solution code:
TH, TS, AH, AS = [int(s) for s in input().split(" ")]
turn = True
while True:
  if turn:
    AH -= TS
    if AH <= 0:
      print('Yes')
      break
      turn = not turn
  else:
    TH -= AS
    if TH <= 0:
      print('No')
      break
      turn = not turn

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

sys.setrecursionlimit(10 ** 7)
rl = sys.stdin.readline


def solve():
    a, b, c, d = map(int, rl().split())
    for i in range(200):
      if c % b != 0:
        print('No')
        exit()
      if a % d != 0:
        print('Yes')
        exit()
    

if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

sys.setrecursionlimit(10 ** 7)
rl = sys.stdin.readline


def solve():
    a, b, c, d = map(int, rl().split())
    if c % b != 0:
        print('No')
        exit()
    if a % d != 0:
        print('Yes')
        exit()
    

if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

Solution code:
import sys

sys.setrecursionlimit(10 ** 7)
rl = sys.stdin.readline


def solve():
    a, b, c, d = map(int, rl().split())
    if c % b != 0:
        print('No')
        exit()
    if c % b != 1:
        print('Yes')
        exit()
    

if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

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

    return 0

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

    return 0

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
num = list(map(int, input().split())) #i_1 i_2を取得し、iに値を入れる

N=int(num[2]/num[1])
if(N*num[3]<num[0]):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
num = list(map(int, input().split())) #i_1 i_2を取得し、iに値を入れる

N=num[2]/num[1]
if((N-1)*num[3]<num[0]):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
num = list(map(int, input().split())) #i_1 i_2を取得し、iに値を入れる

N=num[2]/num[1]
if(N*num[3]<num[0]):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
A, B, C, D = [int(i) for i in input().split()]
 
a = A/D
b = C/B
 
if a >= 0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
def Sol(taka_health,taka_stregnth,aoki_health,aoki_stregnth):
    
    if taka_health%aoki_stregnth != 0:
        moves_taka = int(taka_health/aoki_stregnth) + 1
    else:
        moves_taka = int(taka_health/aoki_stregnth)
    
    if aoki_health%taka_stregnth != 0:
        moves_aoki =int(aoki_health/taka_stregnth) + 1
    else:
        moves_aoki = int(aoki_health/taka_stregnth)
    
    if moves_taka > moves_aoki:
        print("Yes")
    else:
        print("No")
    return

    

#for t in range(int(input())):
n,k,d,c = map(int,input().split())
#n = int(input())
#arr = []
#for i in range(n):
#    time = list(map(int,input().split()))
#    time = time[0] + (time[1]/60)
#    arr.append(time)
#arr = list(map(int,input().split()))
#k = input()
#n = int(input())
Sol(n,k,d,c)

Submission status: Wrong Answer

Solution code:
A, B, C, D = [int(i) for i in input().split()]
 
while A and C > 0:
  A -= D
  C -= B
 
if A >= 0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def Sol(a,b,c,d):
    
    while True:
        c-=b
        if c<=0:
            print("YES")
            return
        a-=d
        if a<=0:
            print("NO")
            return

    

#for t in range(int(input())):
n,k,c,d = map(int,input().split())
#n = int(input())
#arr = []
#for i in range(n):
#    arr.append(input())
#arr = list(map(int,input().split()))
#k = input()
#n = int(input())
Sol(n,k,c,d)

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)

x = math.ceil((a+d-1)/d)
y = math.ceil((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())
t = (a+b)
ak = (c+d)
print('Yes' if t>ak else "No")

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, random, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split()))
def LF(): return list(map(float, input().split()))
def LI_(): return list(map(lambda x: int(x)-1, input().split()))
def II(): return int(input())
def IF(): return float(input())
def S(): return input().rstrip()
def LS(): return S().split()
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float("INF")

#solve
def solve():
    a, b, c, d = LI()
    print("Yes" if (c-1)//b + 1 >= (a-1)//d + 1 else "No")
    return


#main
if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

Solution code:
A=list(map(int,input().split()))
while A[0]>0 and A[2]>0:
    A[0] =- A[3]
    if A[0]<=0:
        print("No")
        break
    A[2] =- A[1]
    if A[2]<=0:
        print("Yes")
        break

Submission status: Wrong Answer

Solution code:
a,b,c,d,=map(int,input().split())
def func(a,b,c,d):
    numb=a/d
    numbs=c/b
    if type(numb)==int:
        pass
    if type(numb)==float:
        numb=a//d+1
    if type(numbs)==int:
        pass
    if type(numbs)==float:
        numbs=c//b+1
    return "Yes" if numbs<= numb else "No"
print(func(a,b,c,d))

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:
# -*- coding: utf-8 -*-
# 整数の入力
a,b,c,d = map(int, input().split())
# 文字列の入力
while a>=0 and c>=0 :
  c = c-b
  if c <= 0:
    print("yes")
    break
  else:    
    a = a-d
    if a <= 0:
      print("no")
      break

Submission status: Wrong Answer

Solution code:
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())
for i in range(100):
  if c-b*i<=0:
    print("Yes")
    break
  if a-d*i<=0:
    print("No")
    break

Submission status: Wrong Answer

Solution code:
A,B,C,D= map(int,input().split())
A=A-D
B=B-D
if(A>=0):
  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):
    numb=a/d
    numbs=c/b
    if type(numb)==int:
        pass
    if type(numb)==float:
        numb=(a//d)+1
    if type(numbs)==int:
        pass
    if type(numbs)==float:
        numbs=(c//b)+1
    return "Yes" if numbs<= numb else "No"
print(func(a,b,c,d))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

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

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



if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
takahashiHP,takahashiAT,aokiHP,aokiAT=map(int,input().split())

A=aokiHP/takahashiAT
B=takahashiHP/aokiAT

if A>B :
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
line = input().split()
a=int(line[0])
b=int(line[1])
c=int(line[2])
d=int(line[3])
e=c//b
f=a//d
if e<f:
  print("Yes")
elif e==f and c%b==0:
  print("Yes")
elif e==f+1 and a%d>0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
takahashiHP,takahashiAT,aokiHP,aokiAT=map(int,input().split())

A=aokiHP/takahashiAT
B=takahashiHP/aokiAT

if A>=B :
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
line = input().split()
a=int(line[0])
b=int(line[1])
c=int(line[2])
d=int(line[3])
e=c//b
f=a//d
if e<f:
  print("Yes")
elif e==f and c%b==0:
  print("Yes")
elif e==f+1 and c%b==0:
  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 x>= y:
    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:
  a-=d
  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:
    a=a-d
    c=c-b
if a>c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

#aa = int(10 / 10) + 1 #2
#cc = int(10 / 9)      #1

aa = int(a / d) + 1
cc = int(c / b)

if aa <= cc:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

def battle(a, b, c, d, i):
  for i in range(100):
    if ans1 <= 0:
      return ans1
    elif ans2 <= 0:
      return ans2
    else:
      a = a - d
      b = b - c
    return a, b, c, d

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

Submission status: Wrong Answer

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

    attack_count_A = C // B
    if C % B > 0:
        attack_count_A += 1
    
    attack_count_B = A // D
    if A % D > 0:
        attack_count_B += 1

    if attack_count_A >= attack_count_B:
        print('{}'.format('Yes'))
    else:
        print('{}'.format('No'))

        
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num = map(int, input().split())
list1=[]
for i in num:
    list1.append(i)
result1=list1[2]-list1[1]
while(result1>0):
    result1= result1-list1[1]
result2= list1[0]-list1[3]
while(result2>0):
    result2= result2- list1[3]
if result1<result2:
    print("NO")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
line = input().split()
a=int(line[0])
b=int(line[1])
c=int(line[2])
d=int(line[3])
e=c//b
f=a//d
if e<f:
  print("Yes")
elif e==f and c%b==0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:

a = list(map(int,input().split()))
t = a[0] - a[1]
a1 = a[2] - a[3]
while True:
    b = t - a[1]
    ao = a1 - a[3] 
    if b==0:
        print('No')
        break
    else:
        print('Yes')
        break

Submission status: Wrong Answer

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

count = 0

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
line = input().split()
a=int(line[0])
b=int(line[1])
c=int(line[2])
d=int(line[3])
e=c//b
f=a//d
if e<f:
  print("Yes")
elif e==f and c%b==0:
  print("Yes")
elif e==f and c%b>0 and a%b>0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
e=[]
f=[]
g=c-b
h=a-d
while c>0:
    g=c-b
    e.append(g)
    c=g
    h=a-d
    f.append(h)
    a=h
if len(e)!=1:
    if e[len(e)-1]<f[len(f)-2]:
        print('Yes')
    elif e[len(e)-1]==f[len(f)-2]:
        print('No')
    else:
        print('No')
elif len(e)==1:
    print('Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

ans1 = 0
while a>=0:
    a -= d
    ans1 += 1

ans2 = 0
while c >= 0:
    c -= b
    ans2 += 1

if ans1 >= ans2:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C,D = map(int,input().split())
M = min([divmod(A,D)[0],divmod(C,B)[0]])
if divmod(C,B)[0]==0:
    print("Yes")
elif divmod(A,D)[0]==0:
    print("No")
else:
    C_1 = C-B*M
    A_1 = A-D*M
    if C_1 - B <= 0 and C_1>0 and A_1>0:
        print("Yes")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:
takahashi_h, takahashi_a, aoki_h, aoki_a = map(int, input().split())

if takahashi_h // aoki_a < aoki_h // takahashi_a:
    print("Yes")
elif takahashi_h // aoki_a > aoki_h // takahashi_a:
    print("No")
else:
    takahashi_h = takahashi_h - (aoki_a * (takahashi_h // aoki_a))
    aoki_h = aoki_h - (takahashi_a * (aoki_h // takahashi_a))
    
    if aoki_h > 0 and takahashi_h <= 0:
        print("No")
    else:
        print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = (input().split())
TH = int(N[0])
TP = int(N[1])
AH = int(N[2])
AP = int(N[3])

if 1 <= TH <= 100 and 1 <= TP <= 100 and 1 <= AH <= 100 and 1 <= AP <= 100:
  A = TH / AP
  B = AH / TP
  if A == B:
    print('Yes')
  elif A < B:
    print('Yes')
  else:
    print('No')

Submission status: Wrong Answer

Solution code:
a, b, c,d = map(int, input().split())
aa=a
cc=c
for i in range(a//d+1):
    cc = cc - b
    print(cc)
    if cc<1:
      print("Yes")
      break;
    aa = aa - d
    print(aa)
    if aa <1:
      print("No")
      break;

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if (a+b)%2 ==1 and (c+d)%2==0:
    print('No')
else:
    print('yes')

Submission status: Wrong Answer

Solution code:
def solve(a, b, c, d):
    a = a - d
    c = c - b

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


if __name__ == '__main__':
    inputs = list(map(int, input().split()))
    solve(inputs[0], inputs[1], inputs[2], inputs[3])

Submission status: Wrong Answer

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

t = C /B
a = A /D

if t <= 1:
    ans = "Yes"
else:
    if a <= 1:
        ans = "No"
    else:
        if t <= a + 1:
            ans = "Yes"
        else:
            ans = "No"

print(ans)

Submission status: Wrong Answer

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

ans1 = a//c
ans2 = b//d

if ans1 >= ans2:
  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())

if (abs(a-b))%2 ==1 and (abs(c-d))%2==0:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

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

a = int(a)
b = int(b)
c = int(c)
d = int(d)

while a >= 1 and c >= 1:
    c = int(c - b)
    a = int(a - d)  

if a > c:
    print("yes")
else :    
    print("no")

Submission status: Wrong Answer

Solution code:
t_at, t_hp, a_at, a_hp = map(int, input().split())

while True:
  a_hp -= t_at
  if a_hp <= 0:
    print("Yes")
    exit()

  t_hp -= a_at
  if t_hp <= 0:
    print("No")
    exit()

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = (input().split())
TH = int(N[0])
TP = int(N[1])
AH = int(N[2])
AP = int(N[3])

if 1 <= TH <= 100 and 1 <= TP <= 100 and 1 <= AH <= 100 and 1 <= AP <= 100:
  A = TH / AP
  B = AH / TP
  if B <= A:
    print('Yes')
  else:
    print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a = int(a)
b = int(b)
c = int(c)
d = int(d)

while a >= 1 and c >= 1:
    c = int(c - b)
    print(c)
    a = int(a - d)
    print(a)
    

if a > c:
    print("yes")
else :    
    print("no")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

i = C // B
j = C - B*i

y = A // D
z = A - D*y

if i == y:
  if j > z:
    print("No")
  else:
    print("Yes")
elif i > y:
  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 =c - b
    a =a - d
if c <= 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

n_1=A//D
n_2=A/D
if n_1<n_2:
    a=n_1+1
else:
    a=n_1

n_3=C//B
n_4=C/B
if n_3<n_4:
   b=n_3+1
else:
    b=n_3

if a<=b:
    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")
        break
    elif a==0:
        print("No")