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: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
while True:
    C = C - B
    if C <= 0:
        print('Yes')
        break
    A = A - D
    if A <= 0:
        print('No')
        break

Submission status: Runtime Error

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")
         exit()
    elif t_hp <= 0:
         print("No")
         exit()

Submission status: Runtime Error

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")
      exit()
    elif t_hp <= 0:
      print("No")
      exit()

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b,c,d=map(int,input().split())
ターン制だから
while True:
    # 自分の体力を相手の攻撃力で引かれる
    c-=b
    if c<=0:
        print("Yes")
        exit()
    # 生きてた場合相手のターンへ
    a-=d
    if a<=0:
        print("No")
        exit()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

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: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

Solution code:
A, B, C, D = [int(n) for n in input().split(' ')]

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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 True:
  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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
fjaewi

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
[S, W] = list(map(int, input().split()))
if W >= S:
    print('unsafe')
else:
    print('safe')

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

print("no")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

while True:

    cd = c - b
    if cd <= 0:
        print('Yes')
        break
    
    ad = a - d 
        if ad <= 0:
        print('No')
        break

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
tl, ta, al, aa = map(int, input().split(" ")
print("Yes" if math.ceil(al/ta) < math.ceil(tl / aa) else "No")

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
n,a,b=[int(x) for x in input().split()]

print((n//(a+b))*a + (n%(a+b)))

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

Solution code:
A, B, C, D = map(int, input().split())
for _ in range(10000):
  C -= B
  if C <= 0:
    print("Yes")
    exit()
  A -= D
  if A <= 0:
    print("No")
    exit()

Submission status: Runtime Error

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

for _ in range(10000):
  C -= B
  if C <= 0:
    print("Yes")
    exit()

  A -= D
  if A <= 0:
    print("No")
    exit()

Submission status: Runtime Error

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

while (a>0) & (c>0):
  tmp1 = c-b
  tmp2 = a-d
  if temp1<=0: print('Yes')
  elif temp2<=0: print('No')

Submission status: Runtime Error

Solution code:
a,b,c,d=,map(int,input(),split())
hpa=a
hpc=c
while (hpa!=0) and (hpc!=0):
  hpa=hpa-c
  hpc=hpc-a

if hpa=0:
  print("No")

if hpc=0:
  print("Yes")

Submission status: Runtime Error

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

killcount_a = -(-C//B)
killcount_b = -(-A//D)

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

Submission status: Runtime Error

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

flag = False
for idx in input_list:
  if idx>=1 and idx<=100:
    flag = True
  if flag is False:
    break
  
turn = 0
if flag:
  A, B, C, D = input_list
  continue_flag = True
  while continue_flag:
    if turn%2==0:
      C -= B
      if C<=0:
        print("Yes")
        continue_flag = False
      turn += 1
    else:
      A -= D
      if A<=0:
        print("No")
        continue_flag = False
      turn += 1

Submission status: Runtime Error

Solution code:
h = 'A B C D'
list = h.split(' ')

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

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: Runtime Error

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

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: Runtime Error

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:
  while A - B !<= 0 or C - D !<= 0:
    E = A - B
    F = C - D
  if A - B > C - D and C - D <= 0:
    print("Yes")
  else:
    print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
line=input().split(" ")
a=int(line[0])
b=int(line[1])
c=int(line[2])
d=int(line[3])
 
while a>0 and c>0:
  c=c-b
  if c<=0:
    print("Yes")
    break
  a=a-d
  if a<=0:
    print("No")
    break
line=input().split(" ")
a=int(line[0])
b=int(line[1])
c=int(line[2])
d=int(line[3])

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

Submission status: Runtime Error

Solution code:
import math

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

T_hp = int(A)
T_atk = int(B)
A_hp = int(C)
A_atk = int(D)

T_burstturn = math.ceil(T_hp / A_atk)
A_burstturn = math.ceil(A_hp / T_atk)

if T_burstturn < A_burstturn:
    print("No")
else:
    prit("Yes")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
I = input("")
i = I.split(" ")

N = int(i[0])
l = []
t = 0

for k in range(N):
    if i[k+1] not in l:
        l.append(i[k+1])
        t = t+1
print(len(l))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
buf = input().split()
th = int(buf[0])
ts = int(buf[1])
ah = int(buf[2])
as = int(buf[3])

while True:
  ah -= ts
  if ah <= 0:
    break
  th -= as
  if th <= 0:
    break

if ah <= 0:
  print('Yes')
if th <= 0:
  print('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A, B, C, D = map(int, input().split())
 
flg = true
t = false
while(flg):
  t = true
  C -= B
  if (C <= 0):
    break
  t = false
  A -= D
  if (A <= 0) :
    break

if (t):
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
A, B, C, D = map(int, input().split())
 
flg = true
t = false
while(flg):
  t = true
  C -= B
  if (C <= 0):
    break
  t = false
  D -= B
  if (D <= 0) :
    break

if (t):
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

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

flg = true
t = false
while(flg):
  t = true
  D -= B
  if (D <= 0):
    break
  t = false
  A -= C
  if (A <= 0) :
    break

if (t):
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

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

x = C / B
y = C % B
p = A / D
q = A % D

if (y <> 0):
  x += 1
if (q <> 0):
  p += 1

if (x <= p):
  print("Yes")
elif (x > p):
  print("No")

Submission status: Runtime Error

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

x = C / B
y = C % B
p = A / D
q = A % D

if (x > p):
  print("Yes")
elif (x < p):
  print("No")
else
  if (y == 0 and q <> 0):
    print("Yes")
  elif (y <> 0 and q == 0):
    print("No")
  else :
    print("Yes")

Submission status: Runtime Error

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

x = C / B
y = C % B
p = A / D
q = A % D

if (x < p):
  print("Yes")
elif (x > p):
  print("No")
else
  if (y == 0 and q <> 0):
    print("Yes")
  elif (y <> 0 and q == 0):
    print("No")
  else :
    print("Yes")

Submission status: Runtime Error

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

x = C / B
y = C % B
p = A / D
q = A % D

if (x < p):
  print("Yes")
elif (x > p):
  print("No")
else
  if (y == 0):
    print("Yes")
  elif (y <> 0 and q == 0):
    print("No")
  else :
    print("Yes")

Submission status: Runtime Error

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

x = A / D
y = A % D
p = C / B
q = C % B

if (p < x):
  print("Yes")
elif (p == x):
  if (y == 0 and q <> 0):
    print("No")
  else:
    print("Yes")
else:
  print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

        
a,b,c,d=map(int, input().split() )
 
for i in range( 200 ):
    c=c-b
    if c<=0:
  		print("Yes")
  		break
	a=a-d
  	if a<=0:
  		print("No")
  		break

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
"""
A高橋体力
B高橋攻撃力
C青木体力
D青木攻撃力
"""
 
a,b,c,d=map(int, input().split())
 
while(true):
	c=c-b
  	if c<=0:
  		print("Yes")
  		break
	a=a-d
  	if a<=0:
  		print("No")
  		break

Submission status: Runtime Error

Solution code:
"""
A高橋体力
B高橋攻撃力
C青木体力
D青木攻撃力
"""

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

while(true):
  c=c-b
  	if c<=0:
  		#takahasi win
  		print("Yes")
  		break
  a=a-d
  	if c<=0:
  		#takahasi win
  		print("No")
  		break

Submission status: Runtime Error

Solution code:
a, b, c, d = map(int, input().split())
takahashi = [a, b] if a>b else [b, a]
aoki = [c, d] if c>d else [d, c]
attackers = [takahashi, aoki]
attacker = 0

while 0 not in takahashi and 0 not in aoki:
  attackers[attacker^1][1] = max(0, attackers[attacker^1][1]-attackers[attacker][0])
  attackers[attacker^1].sort(reversed=True)
  attacker = attacker^1

if 0 in attackers[0]:
  print('No')
else:
  print('Yes')

Submission status: Runtime Error

Solution code:
a,b,c,d=map(int,input().split())
for int in 100:
  a-d
  c-b
  if a or c =< 0:
    if a =< 0:
      print("No")
    else:
      print("Yes")
  break

Submission status: Runtime Error

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: Runtime Error

Solution code:
# B

inputs = input().split(' ')

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

players = [aoki, takahashi]
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')

Submission status: Runtime Error

Solution code:
inputs = input().split(' ')

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

players = [aoki, takahashi]
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')

Submission status: Runtime Error

Solution code:
A,B,C,D = map(int,input().split())
while A>0 && C>0:
    C=C-B
    A=A-D

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

Submission status: Runtime Error

Solution code:
a,b,c,d = map(int,input(),split())
turn = 0
while a > 0 and c> 0:
    if turn%2 ==0:
        c -= b
    else:
        a -= d
    turn += 1
if turn%2 == 1:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

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

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

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

    check = not check

Submission status: Runtime Error

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

d1 = math.ceil(C / B)
d2 = math.ceil(A / D)

if d1 <= d2:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

while a>0 and c>0:
  c -= b
  a -= d
  
  

if a>>o:
  print("Yes")
  
else:
  print("No")

Submission status: Runtime Error

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

while a>0 and c>0:
  c -= b
  a -= d
  
  

if a>o:
  print("Yes")
  
else:
  print("No")

Submission status: Runtime Error

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

while a>0 and c>0:
  a -= d
  c -= b
  

if a>o:
  print("Yes")
  
else:
  print("No")

Submission status: Runtime Error

Solution code:
N = int(input())

goods = {}
for i in range(N):
  name = input().rstrip()
  if name in goods.keys():
    goods[name] += 1
  else:
    goods[name] = 1
print(len(goods.keys()))

Submission status: Runtime Error

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

while True:
	if attack:
		c -= b
		attack = false
		if c < 0:
			break
	else:
		a -= d
		attack = True
		if a < 0:
			win = false 
			break


print("Yes") if win else print('No')))

Submission status: Runtime Error

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

while True:
	if attack:
		c = c - b
		attack = false
		break if c < 0
	else:
		a = a - d
		attack = True
		win = false if a < 0 
		break if !win


print("Yes") if win else print('No')))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
li=[input() for i in range(4)]

while ((li[0]>0) and (li[2]>0)):
  li[2]=li[2]-li[1]
   if li[2]<=0:
      print('Yes')
  li[0]=li[0]-li[3]
   if li[0]<=0:
      print('No')

Submission status: Runtime Error

Solution code:
li=[input() for i in range(4)]

while ((li[0]>0) and (li[2]>0)):
  li[2]=li[2]-li[1]
   if li[2]<=0:
      print('Yes')
  li[0]=li[0]-li[3]
   if li[0]<=0:
      print('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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