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

Submission status: Wrong Answer

Solution code:
#include <CodeforcesSolutions.h>
#include <ONLINE_JUDGE <solution.cf(contestID = "1364",problemID = "A",method = "GET")>.h>
"""
    Author : thekushalghosh
    Team   : CodeDiggers
 
    I prefer Python language over the C++ language :p :D
        
    Visit my website : thekushalghosh.github.io
"""
import sys,math,cmath,time
start_time = time.time()
##########################################################################
################# ---- THE ACTUAL CODE STARTS BELOW ---- #################

def solve():
    a,b,c,d = invr()
    while True:
        a = a - d
        c = c - b
        if a <= 0:
            print("No")
            break
        if c <= 0:
            print("Yes")
            break
            
################## ---- THE ACTUAL CODE ENDS ABOVE ---- ##################
##########################################################################
 
def main():
    global tt
    if not ONLINE_JUDGE:
        sys.stdin = open("input.txt","r")
        sys.stdout = open("output.txt","w")
    t = 1
    for tt in range(t):
        solve()
    if not ONLINE_JUDGE:
        print("Time Elapsed :",time.time() - start_time,"seconds")
        sys.stdout.close()
    
#---------------------- USER DEFINED INPUT FUNCTIONS ----------------------#
def inp():
    return(int(input()))
def inlt():
    return(list(map(int,input().split())))
def insr():
    return(input().strip())
def invr():
    return(map(int,input().split()))
 
#------------------ USER DEFINED PROGRAMMING FUNCTIONS ------------------#
def counter(a):
    q = [0] * max(a)
    for i in range(len(a)):
        q[a[i] - 1] = q[a[i] - 1] + 1
    return(q)
 
def string_counter(a):
    q = [0] * 26
    for i in range(len(a)):
        q[ord(a[i]) - 97] = q[ord(a[i]) - 97] + 1
    return(q)

def power_two(n):
    if n == 1:
        return(True)
    sttr = str(n)
    len_str = len(sttr)
    sttr = list(sttr)
    num = 0
    if (len_str == 1 and sttr[len_str - 1] == '1'): 
        return(False)
    while (len_str != 1 or sttr[len_str - 1] != '1'):
        if ((ord(sttr[len_str - 1]) - ord('0')) % 2 == 1):
            return(False)
        j = 0; 
        for i in range(len_str):  
            num = num * 10 + (ord(sttr[i]) - ord('0')); 
            if (num < 2): 
                if (i != 0):  
                    sttr[j] = '0'
                    j += 1
                continue
  
            sttr[j] = chr((num // 2) + ord('0'))
            j += 1; 
            num = (num) - (num // 2) * 2
        len_str = j
    return(True)

def getLeftmostBit(n): 
    m = 0
    while (n > 1) : 
        n = n >> 1
        m += 1
    return(m)
def getNextLeftmostBit(n, m) : 
    temp = 1 << m 
    while (n < temp) : 
        temp = temp >> 1
        m -= 1
    return m
def bitcounter(n) :
    m = getLeftmostBit(n) 
    return _countSetBits(n, m) 
def _countSetBits(n, m) :
    if (n == 0) : 
        return 0
    m = getNextLeftmostBit(n, m)
    if (n == (1 << (m + 1)) - 1) : 
        return ((m + 1) * (1 << m))
    n = n - (1 << m)
    return (n + 1) + bitcounter(n) + m * (1 << (m - 1)) 

def log_two(n): 
    return(math.log(n) / math.log(2))

#-----------------------------------------------------------------------#
        
ONLINE_JUDGE = __debug__
if ONLINE_JUDGE:
    input = sys.stdin.readline
    
main()

Submission status: Wrong Answer

Solution code:
import math
def fact(n):
    ans = 1
    for i in range(2, n+1):
        ans*= i
    return ans
def comb(n, c):
    return fact(n)//(fact(n-c)*c)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

def main():
    t_hp, t_atk, a_hp, a_atk = map(int, input().split(' '))

    while True:
        a_hp -= t_atk
        t_hp -= a_atk
        if a_hp <= 0 and t_hp > 0:
            print('Yes')
            exit(0)
        elif t_hp <= 0 and a_hp > 0:
            print('No')
            exit(0)
        else:
            print('Yes')
            exit(0)


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C,D = map(int,input().split())
aok_attack = -(-A//D) #高橋を倒すための攻撃回数
tkhs_attack = -(-C//B)#青木を倒すための攻撃回数
print(tkhs_attack)
print(aok_attack)
if tkhs_attack > aok_attack:
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

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

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())
print(a, b, c, d)

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# B - Battle
A,B,C,D = map(int,input().split())
ans = ['No', 'Yes']
takahashi = (C-1)//B + 1
aoki = (A-1)//D + 1
print(ans[takahashi>=aoki])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if tpow >= apow:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

if tpow >= apow:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

if a % d == 0:
    B = a // d
else:
    B = a // d + 1

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C,D = list(map(int,input().split()))
a=0
c=0
while A > 0:
  A -= D
  a += 1#何回でやられたか
while C > 0:
  C -= B
  c += 1#何回で倒したか
if a < c:
  print('No')
elif a >= c:
  print('Yes')
print(A,C,a,c)

Submission status: Wrong Answer

Solution code:
A,B,C,D = list(map(int,input().split()))
a=0
c=0
while A > 0:
  A -= D
  a += 1
while C > 0:
  C -=B
  c += 1
if a > c:
  print('No')
elif a <= c:
  print('Yes')

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

    a-=d
    print("No")

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())    
ta=(c+a-1)//a
ao=(b+d-1)//d

if ta<=ao:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

HP_T=A
HP_A=C

for i in range(1,102):
    if i%2==1:
        HP_A -= B
    else:
        HP_T -= D

    if HP_A<=0:
        print('Yes')
        exit()
    elif HP_T<=0:
        print('No')
        exit()
    else:
        pass

Submission status: Wrong Answer

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

HP_T=A
HP_A=C

for i in range(1,102):
    if i%2==1:
        HP_A -= B
    else:
        HP_T -= D

    if HP_A<=0:
        print('No')
        exit()
    elif HP_T<=0:
        print('Yes')
        exit()
    else:
        pass

Submission status: Wrong Answer

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

HP_T=A
HP_A=C

for i in range(1,102):
    if i%2==1:
        HP_A -= B
    else:
        HP_T -= D

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

t = math.ceil(a/d)
k = math.ceil(c/b)
print(t, k)
if (t <= k):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
def solve():
    A, B, C, D = map(int, input().split())
    print('NYoe s'[-(-C//B) > -(-A//D)::2])


if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

Solution code:
def solve():
    A, B, C, D = map(int, input().split())
    print('NYoe s'[C//B > A//D::2])


if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

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

total1 = c / b
if c % b != 0:
  total1 += 1

total2 = a / d
if a % d != 0:
  total2 += 1
  
if total2 < total1:
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
flg = True
for i in range(2 * max(A, C) + 1):
    if i % 2 == 0:
        C -= B
        print('C: ', C)
        if C <= 0:
            flg = False
            print('Yes')
    else:
        A -= D
        if A <= 0:
            flg = False
            print('No')
    if not flg:
        break

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
flg = True
for i in range(max(A, C)):
    if i % 2 == 0:
        C -= B
        if C <= 0:
            flg = False
            print('Yes')
    else:
        A -= D
        if A <= 0:
            flg = False
            print('No')
    if not flg:
        break

Submission status: Wrong Answer

Solution code:
a,b,c,d = list(map(int,input().split()))
na = c-b
nb = a-d
while na > 0 and nb > 0:
    na -= c
    nb -= d
if na <= 0 and nb >0:
    print("Yes")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
a,b,c,d = list(map(int,input().split()))
na = c-b
nb = a-d
while na > 0 and nb > 0:
    na -= c
    nb -= d
if na <=0:
    print("Yes")
else:
    print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if math.ceil(C/B) >= math.ceil(D/A):
    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(D/A):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if C//B >= D//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 = list(map(int,input().split(" ")))
S,T = [0,0]

if A%D != 0:
  S +=1
if C%B != 0:
  T += 1
if C//B + T < A//D + S:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

t_hp = a
a_hp = c
while a_hp > 0 or t_hp > 0:
	a_hp -= b
	t_hp -= d

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

Submission status: Wrong Answer

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

t_hp = a
a_hp = c
while a_hp >= 0 or t_hp >= 0:
	a_hp -= b
	t_hp -= d

if a_hp < t_hp:
  	print("Yes")
else:
  	print("No")

Submission status: Wrong Answer

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

t_hp = a
a_hp = c
while a_hp >= 0 or t_hp >= 0:
	a_hp -= b
	t_hp -= d

if a_hp <= t_hp:
  	print("Yes")
else:
  	print("No")

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int,input().split())
#a = Takahashi's HP,b = T's ATK, c = Aoki's HP, d = A's ATK
#T -> A -> T -> A...
print("Yes" if (a//d)+1 >= (c//b) else "No")

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int,input().split())
#a = Takahashi's HP,b = T's ATK, c = Aoki's HP, d = A's ATK
#T -> A -> T -> A...
print("Yes" if (a//d) <= (c//b) else "No")

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int,input().split())
#a = Takahashi's HP,b = T's ATK, c = Aoki's HP, d = A's ATK
#T -> A -> T -> A...
print("Yes" if (a/d) >= (c/b) else "No")

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int,input().split())
#a = Takahashi's HP,b = T's ATK, c = Aoki's HP, d = A's ATK
#T -> A -> T -> A...
print("YES" if (a/d) >= (c/b) else "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 int(c/b)<=int(a/d):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')
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(((c+b-1)/b)<=((a+d-1)/d)):
    print("Yes")     
else:
    print("No")

Submission status: Wrong Answer

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

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

if n % 2 == 1:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

if tak < aok:
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

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

if math.floor(c/b) < math.floor(a/d):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
count=0
for i in range(100):
  turn1=c-b
  c=turn1
  count+=1
  if c<=0:
    break

newcount=0
for i in range(100):
  turn2=a-d
  a=turn2
  newcount+=1
  if a<=0:
    break

if count>=newcount:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

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
  if c <= 0:
    print("Yes")
    break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def round_up(x):
    if x>int(x):
        return int(x)+1
    else:
        return int(x)
a,b,c,d=map(int,input().split())
m,n=round_up(a/b),round_up(c/d)
print('No' if m<n else 'Yes')

Submission status: Wrong Answer

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

takahashi = -(-C // B)
aoki = -(-A // D)

if(takahashi >= aoki):
    print("Yes")

else:
    print("No")

Submission status: Wrong Answer

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


while a>0:

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

    
    a = a- d
    if a <0:
        print("NO")
        break

Submission status: Wrong Answer

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


while a>0:

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

aoki = c - b
takahasi = a - d

for i in range(100):
  if i % 2 == 0:
    c -= b
    if c <= 0:
      print('Yes')
      exit()
  elif i % 2 == 1:
    a -= d
    if a <= 0:
      print('No')
      exit()

Submission status: Wrong Answer

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

aoki = c - b
takahasi = a - d

for i in range(100):
  if i % 2 == 0:
    c -= b
    if c < 0:
      print('Yes')
      exit()
  elif i % 2 == 1:
    a -= d
    if a < 0:
      print('No')
      exit()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
count = 0
while C > 0:
  C = C - B
  count = count + 1
for i in range(count):
  A = A - D
print("Yes" if A>0 else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

elif a<=0:
    print("No")

else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
count_T = (c-1)//b + 1
count_A = (a-1)//d + 1

if count_T > count_A:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
count_T = (a-1)//b + 1
count_A = (c-1)//d + 1

if count_T > count_A:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
a, b, c, d = map(int, input().split())
count_T = (a-1)//b + 1
count_A = (c-1)//d + 1

if count_T <= count_A:
  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:
        break
    A -= D

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c,d = list(map(int, input().split()))
q1,r1 = divmod(c,b)
q2,r2 = divmod(a,d)
if q1>q2:
    print('Yes')
elif q1==q2 and r2>0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

while True:
    if(count % 2 == 0):
        C = C - B
        count = count + 1
    else:
        A = A - D
        count = count + 1
    print(C, 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())

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

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

Submission status: Wrong Answer

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

else:
    print('No')

Submission status: Wrong Answer

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

else:
    print('No')

Submission status: Wrong Answer

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

else:
    print('No')

Submission status: Wrong Answer

Solution code:
A,B,C,D = list(map(int, input().split()))
E = A//C
F = D//B
if F >= E:
    print('Yes')

else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

while (1):
        if A <= 0 or B <= 0:
                break
        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())

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

Submission status: Wrong Answer

Solution code:
def resolve():
    AHP, AAT, BHP, BAT = list(map(int, input().split()))
    if AHP // BAT + 1 < BHP // AAT + 1:
        print("Yes")
    else:
        print('No')

resolve()

Submission status: Wrong Answer

Solution code:
a,b,c,d = list(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(C>0 and A>0):
    C=C-B
    A=A-D
    if(C>0):
        print("No")
    elif(A>0):
        print("Yes")
    else:
        print("Yes")

Submission status: Wrong Answer

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

while(C>0 and A>0):
    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())
while True:
  a -= d
  c -= b
  if a < 1:
    print("No")
    break
  elif c < 1:
    print("Yes")
    break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

def ISI(): return map(int, sys.stdin.readline().rstrip().split())

a, b, c, d =ISI()
if a//d < c//b:print("Yes")
elif a//d > c//b:print("No")
else:
	if c%b==0:print("Yes")
	else:print("No")

Submission status: Wrong Answer

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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import inf
A,B,C,D = map(int, input().split())
count = 0
while True:
    if count % 2 == 0:
        D -= A
        if D == 0:
            print('Yes')
            break
    else:
        B -= C
        if B == 0:
            print('No')
            break
    count += 1

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

num = 0
while t_hp <= 0 or a_hp <= 0:
  if num%2 == 0:
    a_hp = a_hp - t_atack
    
  else:
    t_hp = t_hp - a_atack
num += num
    
if t_hp <= 0:
  print("No")
else:
  print("Yes")

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)

while t_hp <= 0 or a_hp <= 0:
  if num%2 == 0:
    a_hp = a_hp - t_atack
    
  else:
    t_hp = t_hp - a_atack

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