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:
def main():
    abcd = list(map(int, input().split()))
    aok = (abcd[2]-abcd[1]) // abcd[1]
    tac = abcd[0] // abcd[3]
    print('Yes' if tac <= aok else 'No')

if __name__ == '__main__':
    main()

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())
x = a + d - 1 / d
y = b + c - 1 / b
if x >= y:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

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

def attack(kougeki,HP):
    HP-=kougeki
    return HP
#attack(3,4)
while a>0 and c>0:
    c=attack(b,c)
    a=attack(d,a)
if a>0:
    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("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")
elif (C//B) == (A//D) and A%D == 0:
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A_ini, B, C_ini, D = map(int, input().split())
# print(A_ini)
# print(B)
# print(C_ini)
# print(D)
# print()

# print('main')
# print()

C_rem = C_ini - B
A_rem = A_ini - D
# print(C_rem)
# print(A_rem)

if C_rem <= 0 and A_rem > 0:
  print('Yes')
elif C_rem <= 0 and A_rem <= 0:
  print('Yes')
elif C_rem > 0 and A_rem <= 0:
  print('No')
else:
  while C_rem > 0 and A_rem > 0 :
    C_rem = C_rem - B
    print(C_rem)
    if C_rem <= 0:
      print('Yes')
      break
    A_rem = A_rem - D
    if A_rem <= 0:
      print('No')
      break

Submission status: Wrong Answer

Solution code:
A_ini, B, C_ini, D = map(int, input().split())
# print(A_ini)
# print(B)
# print(C_ini)
# print(D)
# print()

# print('main')
# print()

C_rem = C_ini - B
A_rem = A_ini - D
# print(C_rem)
# print(A_rem)

if C_rem <= 0:
  print('Yes')
elif A_rem <= 0:
  print('No')
else:
  while C_rem > 0 and A_rem > 0 :
    C_rem = C_rem - B
    print(C_rem)
    if C_rem <= 0:
      print('Yes')
      break
    A_rem = A_rem - D
    if A_rem <= 0:
      print('No')
      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

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

Submission status: Wrong Answer

Solution code:
taka_h,taka_a,ao_h,ao_a = map(int,input().split())
while True:
  taka_h = taka_h - ao_a
  ao_h = ao_h - taka_a
  if taka_h == 0:
    print("No")
    break
  if ao_h == 0:
    print("Yes")
    break
  else:
    continue

Submission status: Wrong Answer

Solution code:
taka_h,taka_a,ao_h,ao_a = map(int,input().split())
while True:
  taka_h = taka_h - ao_a
  ao_h = ao_h - taka_a
  if taka_h == 0:
    print("No")
    break
  elif ao_h == 0:
    print("Yes")
    break
  else:
    continue

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())
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
  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 (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-1<=C/B):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

num1 = a//d
num2 = c//b

print('Yes' if num1>=num2 else'No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

num1 = a//d
num2 = c//d

if num1>=num2:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

num1 = a//d
num2 = c//d

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
import sys
a,b,c,d = map(int,input().split())
for i in range(101):
    if i % 2 == 0:
        c -= b
        if c <= 0:
            print("Yes")
            sys.exit()
    else:
        a -= d
        if a <= 0:
            print("No")
            sys.exit()

Submission status: Wrong Answer

Solution code:
import sys
a,b,c,d = map(int,input().split())
for i in range(100):
    if i % 2 == 0:
        c -= b
        if c <= 0:
            print("Yes")
            sys.exit()
    else:
        a -= d
        if a <= 0:
            print("No")
            sys.exit()

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
#n = int(stdin.readline().rstrip())
#l = list(map(int, stdin.readline().rstrip().split()))
a,b,c,d = map(int, stdin.readline().rstrip().split())
#S = [list(map(int, stdin.readline().rstrip().split())) for _ in range(h)]#hの定義を忘れずに

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

Submission status: Wrong Answer

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

if hpc<=0:
  print("Yes")

Submission status: Wrong Answer

Solution code:
h = input()
list = h.split(' ')

taka_def = int(list[0])
taka_off = int(list[1])
aoki_def = int(list[2])
aoki_off = int(list[3])

if aoki_def - taka_off <=0:
	list[2] = aoki_def - taka_off
	print('Yes')
else:
	list[0] = taka_def - aoki_off
	if taka_def - aoki_off <=0:
		print('Yes')
	else:
		list[2] = aoki_def - taka_off
		if aoki_def - taka_off <=0:
			print('No')
		else:
			list[0] = taka_def - aoki_off
			print('Yes')

Submission status: Wrong Answer

Solution code:
h = input()
list = h.split(' ')

taka_def = int(list[0])
taka_off = int(list[1])
aoki_def = int(list[2])
aoki_off = int(list[3])

if aoki_def - taka_off <=0:
	list[0] = aoki_def - taka_off
	print('Yes')
else:
	list[2] = taka_def - aoki_off
	if taka_def - aoki_off <=0:
		print('Yes')
	else:
		list[0] = aoki_def - taka_off
		if aoki_def - taka_off <=0:
			print('No')
		else:
			list[2] = taka_def - aoki_off
			print('Yes')

Submission status: Wrong Answer

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

while 1:
    a -= b
    if a<1:
        print('Yes')
        exit()
    c-=d
    if c<1:
        print('No')
        exit()

Submission status: Wrong Answer

Solution code:
h = input()
list = h.split(' ')

taka_def = int(list[0])
taka_off = int(list[1])
aoki_def = int(list[2])
aoki_off = int(list[3])

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

if taka_def - aoki_off <=0:
	list[0] = taka_def - aoki_off
	print('No')
else:
	list[2] = aoki_def - taka_off
	if aoki_def - taka_off <=0:
		print('Yes')
	else:
		list[0] = taka_def - aoki_off
		if taka_def - aoki_off <=0:
			print('No')
		else:
			list[2] = aoki_def - taka_off
			print('Yes')

Submission status: Wrong Answer

Solution code:
t_at, t_life, a_at, a_life = map(int,input().split())

count=0
while True:
    count+=1
    if t_life<=0:
        print('No')
        break
    elif a_life<=0:
        print('Yes')
        break
    elif count%2==0:
        t_life=t_life-a_at
    else:
        a_life=a_life-t_at

Submission status: Wrong Answer

Solution code:

t_at, t_life, a_at, a_life = map(int,input().split())

count=0
while True:
    count+=1
    if t_life<0:
        print('No')
        break
    elif a_life<0:
        print('Yes')
        break
    elif count%2==0:
        t_life=t_life-a_at
    else:
        a_life=a_life-t_at

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
t_hp, t_atk, a_hp, a_atk = map(int, input().split())
while (1):
    t_hp -= a_atk
    if t_hp <= 0:
        ans = "Yes"
        break
    a_hp -= t_atk
    if a_hp <= 0:
        ans = "No"
        break
    
print(ans)

Submission status: Wrong Answer

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

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):
    c = c - b
    if (c < 1):
        break
    a = a - d
    if (a < 1):
        break
    print(a,b,c,d)
print('Yes' if (c < 1 ) else 'No')

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):
    c = c - b
    if (c < 1):
        break
    a = a - d
    print(a,b,c,d)
print('Yes' if (a>c) else 'No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
readline = sys.stdin.buffer.readline
t1,t2,a1,a2= list(map(int,readline().rstrip().split()))

if a1//t2 + a1%t2 <= t1//a2 + t1%a2:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
from pip._vendor.distlib.compat import raw_input

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

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

Submission status: Wrong Answer

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

attack_time_takahashi = int(C/B) + 1
attack_time_aoki = int(A/D) + 1

if(attack_time_takahashi <= attack_time_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 and A/D!=A//D:
  print('Yes')
elif C//B-1==A//D and C//B==C/B and A//D!=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 and A/D!=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())
while True:
	C = C - B
	if C <= 0 : 
		print("Yse")
		break
	A = A - D
	if A <= 0 : 
		print("No")
		break

Submission status: Wrong Answer

Solution code:
health1, strenght1, health2, strenght2 = list(map(int, input().split()))
count = 0
while True:
    health2 -= strenght1
    count += 1
    print(health2)
    if health2 <= 0:
        break
    health1 -= strenght2
    count += 1
    print(health1)
    if health1 <= 0:
        break

print('No') if count % 2 == 0 else print('Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
health1, strenght1, health2, strenght2 = list(map(int, input().split()))
count = 0
while True:
    health2 -= strenght1
    count += 1
    # print(health2)
    if health2 < 0:
        break
    health1 -= strenght2
    count += 1
    # print(health1)
    if health1 < 0:
        break

print('Yes') if count % 2 == 0 else print('No')

Submission status: Wrong Answer

Solution code:
a, b, c, d = list(map(int, input().split()))
count = 0
while True:
    d = d - a
    count += 1
    if d < 0:
        break
    b = b - c
    count += 1
    if b < 0:
        break

print('No') if count % 2 == 0 else print('Yes')

Submission status: Wrong Answer

Solution code:
def Next(): return input()
def NextInt(): return int(Next())
def NextInts(): return map(int,input().split())
def Nexts(): return map(str,input().split())
def NextIntList(): return list(map(int,input().split()))
def RowInts(n): return [input() for i in range(n)]

a,b,c,d= NextInts() #高橋体力a 青木体力c

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())
#高橋君　体力=A　攻撃力=B
#青木君　体力=C　攻撃力=D
# while A>0 and C>0:
#     C=C-B
#     A=A-D
#     print([A,C])
# if C<A:
#     print('Yes')
# else:
#     print('No')
T=[A//D, A%D]
P=[C//B, C%B]
print([T,P])
if A//D==C//B-1 and C%B==0:
    print('Yes')
elif A//D<C//B:
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

Solution code:
a,b,c,d =map(int,input().split())
print('Yes'if (a%d+1)>=(c%b+1) 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())
#高橋君　体力=A　攻撃力=B
#青木君　体力=C　攻撃力=D
while A>0 and C>0:
    C=C-B
    A=A-D
if C<A:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

i = 0
result = None

while not result:
    if i % 2 == 0:
        d = d - b
        if d <= 0:
            result = 'Yes'
    else:
        a = a - c
        if a <= 0:
            result = 'No'

print(result)

Submission status: Wrong Answer

Solution code:
a,b,c,d=list(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())
M = [[A, B], [C, D]]
T, A, HP, AP = 0, 1, 0, 1
atkTtoA = (M[A][HP] + M[T][AP] - 1) / M[T][AP]
atkAtoT = (M[T][HP] + M[A][AP] - 1) / M[A][AP]
if atkAtoT < atkTtoA:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
List = input().split()
HP_T = int(List[0])
AT_T = int(List[1])
HP_A = int(List[2])
AT_A = int(List[3])
result = 0

Turn_T = math.ceil(HP_A/AT_T)
Turn_A = math.ceil(HP_T/AT_A)
print(Turn_T, Turn_A)
if Turn_T - Turn_A == 0:
  result = "Yes"  
if Turn_T - Turn_A < 0:
  result = "Yes"
if Turn_T - Turn_A > 0:
  result = "No"

print(result)

Submission status: Wrong Answer

Solution code:
List = input().split()
HP_T = int(List[0])
AT_T = int(List[1])
HP_A = int(List[2])
AT_A = int(List[3])
result = 0

Turn_T = HP_A/AT_T 
Turn_A = HP_T/AT_A 
if Turn_T - Turn_A <= 0:
  result = "Yes"
else:
  result = "No"

print(result)

Submission status: Wrong Answer

Solution code:
List = input().split()
HP_T = int(List[0])
AT_T = int(List[1])
HP_A = int(List[2])
AT_A = int(List[3])
result = 0

Turn_T = HP_A/AT_T 
Turn_A = HP_T/AT_A 
if Turn_T - Turn_A > 0:
  result = "No"
else:
  result = "Yes"

print(result)

Submission status: Wrong Answer

Solution code:
List = input().split()
HP_T = int(List[0])
AT_T = int(List[1])
HP_A = int(List[2])
AT_A = int(List[3])
result = 0

Turn_T = HP_A/AT_T 
Turn_A = HP_T/AT_A 
if Turn_T - Turn_A >= 0:
  result = "No"
else:
  result = "Yes"

print(result)

Submission status: Wrong Answer

Solution code:
List = input().split()
HP_T = int(List[0])
AT_T = int(List[1])
HP_A = int(List[2])
AT_A = int(List[3])
result = 0

Turn_T = HP_A/AT_T 
Turn_A = HP_T/AT_A 
print(Turn_T, Turn_A)
if Turn_T - Turn_A >= 0:
  result = "No"
else:
  result = "Yes"

print(result)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
List = input().split()
HP_T = int(List[0])
AT_T = int(List[1])
HP_A = int(List[2])
AT_A = int(List[3])
result = 0

Turn_T = HP_A//AT_T 
Turn_A = HP_T//AT_A 
print(Turn_T, Turn_A)
if Turn_T - Turn_A < 0:
  result = "Yes"
else:
  result = "No"

print(result)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
List = input().split()
HP_T = int(List[0])
AT_T = int(List[1])
HP_A = int(List[0])
AT_A = int(List[1])
Flag = False
result = 0

Turn_T = HP_A//AT_T 
Turn_A = HP_T//AT_A 
if Turn_T - Turn_A < 0:
  result = "Yes"
else:
  result = "No"

print(result)

Submission status: Wrong Answer

Solution code:
List = input().split()
HP_T = int(List[0])
AT_T = int(List[1])
HP_A = int(List[0])
AT_A = int(List[1])
Flag = False
result = 0

Turn_T = HP_A//AT_T 
Turn_A = HP_T//AT_A 
if Turn_T - Turn_A > 0:
  result = "Yes"
else:
  result = "No"

print(result)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
List = input().split()
HP_T = int(List[0])
AT_T = int(List[1])
HP_A = int(List[0])
AT_A = int(List[1])
Flag = False
result = []

for i in range(1000):
  if Flag:
    break
  HP_A = HP_A - AT_T
  if HP_A <= 0:
    result.append("Yes")
  HP_T = HP_T - AT_A
  if HP_T <= 0:
    result.append("No")
print(result[0])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
List = input().split()
HP_T = int(List[0])
AT_T = int(List[1])
HP_A = int(List[0])
AT_A = int(List[1])
Flag = False
result = []

for i in range(100):
  if Flag:
    break
  HP_A = HP_A - AT_T
  if HP_A <= 0:
    result.append("yes")
  HP_T = HP_T - AT_A
  if HP_T <= 0:
    result.append("No")
print(result[0])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

t_attacks = C/B
if C%B > 0:
    t_attacks = t_attacks + 1

t_life = A - D*(t_attacks-1)

if t_life > 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:
  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 = (int(x) for x in input().split())

t_attacks = C/B
a_attacks = A/D

if C%B > 0:
    t_attacks= t_attacks+1
if A%D > 0:
    a_attacks = a_attacks +1

if t_attacks <= a_attacks:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if t_attack >= a_attack:
  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-1:
  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())

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

i = int(C / B) + 1 #青木君のもんすたーがやられるのにかかる
j = int(A / D) + 1 #高橋君

if i <= j:
  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 = a - d
  c = c - b

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

Submission status: Wrong Answer

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

while a<=0 or b <= 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())

while a<=0 or b <= 0:
  a = a - d
  b = b - c

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Fri May  1 00:22:37 2020

@author: avina
"""

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Fri May  1 00:22:37 2020

@author: avina
"""

l = list(map(int, input().split()))
q = l[0]/l[3] + 1
w = l[2]/l[1] 
if q >= w:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Fri May  1 00:22:37 2020

@author: avina
"""

l = list(map(int, input().split()))
q = l[0]/l[1] 
w = l[2]/l[3] 
if q<=w:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Fri May  1 00:22:37 2020

@author: avina
"""

l = list(map(int, input().split()))
q = l[0]/l[1] + 1
w = l[2]/l[3] 
if q<=w:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

A = a[0]
B = a[1]
C = a[2]
D = a[3]

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

Submission status: Wrong Answer

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

taka = A//D
aok = C//B

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

Submission status: Wrong Answer

Solution code:
string = input()
array = string.split()
hp_t = int(array[0])
attack_t = int(array[1])
hp_a = int(array[2])
attack_a = int(array[3])

for i in range(100):
    hp_a -= attack_t
    print(hp_a)
    if hp_a <= 0:
        print('Yes')
        break
    hp_t -= attack_a
    print(hp_t)
    if hp_t <= 0:
        print('No')
        break

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# B

inputs = input().split(' ')

d = inputs[0:2]
takahashi = {'Name': 'Takahashi', 'Hp': int(d[0]), 'Power': int(d[1])}
d = inputs[2:4]
aoki = {'Name': 'Aoki', 'Hp': int(d[0]), 'Power': int(d[1])}

players = [aoki, takahashi]

def compute(players):
    N =len(players)
    while True:
        for i in range(N):
            players[i-1]['Hp'] -= players[i]['Power']
            if players[i-1]['Hp'] <= 0:
                if players[i]['Name'] == 'Takahashi':
                    print('Yes')
                else:
                    print('No')
                return 

compute(players)

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