peterverebics/CodeNet_Python_118 huggingface dataset:
S=list(map(int,input().split()))
if S[0]<S[1]:
  print("unsafe")
else:
  print("safe")
S, W = map(int, input().split())
if W>S:
    print("safe")
else:
    print("unsafe")
S, W = map(int, input().split())

print('unsafe' if S / 2 <= W else 'safe')
N,K = map(int,input().split())
if(N<K):
    print('unsafe')
else:
    print('safe')
a, b = map(int, input().split())

if a <= b:
    print('safe')
else:
    print('unsafe')
S,W = map(int, input().split())
if S<=W:
  print('safe')
else:
  print('unsafe')
w, s = map(int, input().split())
if (w >= s):
    print('unsafe')
else:
    print('safe')
S, W = input().split()
S=int(S)
W=int(W)
if S/2<=W:
  print("unsafe")
else:
  print("safe")
N, M = map(int, input().split())

if N<M:
    print ("unsafe")
else:
    print ("safe")
WS = input().split()
S = WS[0]
W = WS[1]

result = "safe"
if W >= S:
  result = "unsafe"
  
print(result)
S,W = input().split()
print('unsafe') if S <= W else print('safe')
# input
S, W = map(int, input().split())

if S >= W:
    print("safe")
else:
    print("unsafe")
input_ = input().split()
print("unsafe") if(input_[0]<input_[1]) else print("safe")
s, w = list(map(int, input("sとw入力して").split()))

if w >= s:
    print("unsafe")
else:
    print("safe")
s, w = map(int, input().split())
if w * 2 >= s:
    print("unsafe")
else:
    print("safe")
#!/bin/bash
''':'
docker run --rm -it -v $(cd $(dirname $0) && pwd):/vo:ro pypy:3-2.4.0 \
   /bin/bash -c "pypy3 /vo/$(basename $0) < /vo/input.txt"
exit $?
'''
import sys


def _ia(): return map(int, sys.stdin.readline().strip().split())


def main():
    s, w = _ia()
    if (s+1)//2 <= w:
        return "unsafe"
    else:
        return "safe"


if __name__ == "__main__":
    print(main())
S, W= map(int,input().split())

if S < W:
    print("unsafe")
else :
    print("safe")
sheep_number=int(10)
wolf_number=int(88)
if sheep_number<=wolf_number:
    print('unsafe')
else:
    print('safe')
S, W = map(int, input().split())
if S < W:
  print('unsafe')
else:
  print('safe')
S,W=map(int,input().split())

if S<W:
    print("unsafe")
elif S>W:
    print("safe")
S, W = tuple(int(c) for c in input().split(' '))
if S < W:
    print('safe')
else:
    print('unsafe')
s,w = map(int,input().split())

def my(s,w):
	if s<w:
		print("unsafe")
	elif s==w:
		print("safe")
	elif s>w:
		print("safe")
		
my(s,w)
S, W = map(int, input().split())
if S <= 2 * W:
    print("unsafe")
else:
    print("safe")
x=input().split()
if x[0]<=x[1]:
 	print ("unsafe")
else:
	print ("safe")
#-Sheep and Wolves

S, W = map(int, input().split())

if (S/2 <= (W)):
  print("unsafe")
else:
  print("safe")
S,W=map(int,input().split())
if S>=W:
  print("safe")
else:
  print("unsafe")
S,W=map(int,input().split())
print('unsafe') if S<W else print('safe')
s,w=map(int,input().split())

if s>=w:
    print('unsafe')
else:
    print('safe')
s,w=map(int,input().split())
if w<s//2:
    print("safe")
#if w>=s//2:
else:
    print("unsafe")
inputs = input()
S,W = inputs.split()
result = int(S) - int(W)
if result < 0:
    print("unsafe")
else:
    print("safe")
S,W=map(int,input().split())

if S//2 < W:
    print('unsafe')
else:
    print('safe')
# -*- coding: utf-8 -*-

H, O = map(int, input().split())

if (H < O):
  print("unsafe")
else:
  print("safe")
S, W = list(map(int, input().split()))
if W >= S :
    print("Unsafe")
else:
    print("Safe")
S, W = input().split()

if float(S)<=float(W)*2:
  print("unsafe")
else:
  print("safe")
s, w = map(int,input().split())
print("safe" if s>>w else "unsafe")
s, w = map(int, input().split())
print('safe') if s > 2*w else print('unsafe')
s,w=map(int,input().split())
if s<w:
  print('unsafe')
else:
  print('safe')
def compare():
  S=int(input())
  W=int(input())
  if S<=W:
    print("unsafe")
  else:
    print("safe")
import random

S = random.randint(1,100)
W = random.randint(1,100)

if S <= W:
  print('unsafe')
else:
  print('safe')
# coding: utf-8
 
S, W = map(int, input().split())

if (W*2 > S):
    print('unsafe')
else:
    print('safe')
S, W = map(int, input().split())

print(S)
print(W)

if S <= W :
  print('unsafe')
else:
  print('safe')
s,w=input().split()
if s<=w:
  print("unsafe")
else:
  print("safe")
S, W = input().split()
if int(S) < int(W):
  print("unsafe")
else:
  print("safe")
s, w = map(int, input().split())
if 2*w >= s:
  print("unsafe")
else:
  print("safe")
S, W = input().split()
if S <= W:
    print('unsafe')
else:
    print('safe')
s,w= map(int, input().split())
print("sefe") if s>w else print("unsafe")
S,W=map(int,input().split())
if S<W:
    print("unsafe")
 
else:
    print("safe")
S, W = map(int, input().split())
if W >= S/2:
    print('unsafe')
else:
    print('safe')
S, W = map(int, input().split())
if S >= W:
  print('unsafe')
else:
  print('safe')
import sys
lines = sys.stdin.readlines()

S = str(lines[0])
X = []
A = []
p =1
for i in range(len(S)):
  A.append(p)
  p = p*10%2019
S, W = map(int, input().split())
print('unsafe' if S <= W else 'No')
il = [int(k) for k in input().split()]
S = il[0]
W = il[1]

if S/2 < W :
    print("unsafe")
else:
    print("safe")
s=input().split()
print(s)
sheep=int(s[0])
wolf=int(s[1])
if wolf>sheep:
  print('unsafe')
else:
  print('safe')
x = input().split()
s = int(x[0])
w = int(x[1])
if s / 2 > w or w == 0:
  print('safe')
else:
  print('unsafe')
S, W = map(int, input().split())

if W >= (S / 2):
    print('unsafe')
else:
    print('safe')
# coding: utf-8
 
S, W = map(int, input().split())

if (W <= S/2):
    print('safe')
else:
    print('unsafe')
S, W = map(int, input().split())
print('Unsafe' if W >= S else 'Safe')
s,w=map(int,input().split())
if w>=s:
    print("unsafe")
else:
    print("unsafe")
s,w = map(int, input().split())
if s <= w:
    print('unsafe')
else:
    print('sage')
S, W = map(int, input().split())

if S >= W:
    print("safe")
else:
    print("unsafe")
if __name__ == '__main__':
    S,W = map(int, input().split())
    if S >= W:
        print('unsafe')
    else :
        print('safe')
s, w = map(int, input().split())

if s >= w:
    print("unsafe")
else:
    print("safe")
a = input().split()

if a[0] <= a[1]:
    print("unsafe")
else :
    print("safe")
a ,b = input().split()

if a<b:
	print('safe')
else:
	print('unsafe')
# coding: utf-8
 
S, W = map(float, input().split())

if (W <= S):
    print('safe')
else:
    print('unsafe')
values = input()
values=values.split()
if values[1]>=values[0]:
    print('unsafe')
else:
    print('safe')
s,w =map(int,input().split())
if s/2 > w:
    print("safe")
else:
    print("unsafe")
s, w = map(int, input().split())
if s < w:
  print("unsafe")
else:
  print("safe")
line = input().split(" ")
if line[0]>line[1]:
  print("safe")
else:
  print("unsafe")
NUM = list(map(int,input().split()))

if(NUM[0] >= NUM[1]):
  print("unsafe")
elif(NUM[0] < NUM[1]):
  print("safe")
S, W = map(int, input().split())
if S // 2 <= W: 
    print("unsafe")
else:
    print("safe")
s, w = map(int, input().split())
if w <= s:
  print("unsafe")
else:
  print("safe")
s = list(map(int, input().split()))
print(s[1],s[0])

if s[0] > s[1]:
	print("safe")
else:
    print("unsafe")
s,w = map(int,input().split())
if s >= w:
    print("unsafe")
else:
    print("safe")
a,b = map(int, input().split())

if a < b:
  print('unsafe')
else:
  print('safe')
import sys
input = sys.stdin.readline
def print_ans(S, W):
    """Test Case
    >>> print_ans(4, 5)
    'unsafe'
    >>> print_ans(100, 2)
    'safe'
    >>> print_ans(10, 10)
    'unsafe'
    """
    if S > W :
         return 'safe'
    else:
        return 'unsafe'
if __name__ == '__main__':
    S, W = map(int, input().rstrip().split())
    print_ans(S, W)
s, w = map(int, input().split())
if s//2 <= w:
    print("unsafe")
else:
    print("safe")
S,W = map(int,input().split())
if S <= W:
    print('unsafe')
print('safe')
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
A, B, C, D = map(int,input().split())
print("Yes" if (A-1) // D >= (C-1) // B else "No")
a, b, c, d = map(int, input().split())
m = 0
for i in range(200):
    c -= b
    if c <= 0:
        m = 1
        break
    a -= d
    if a <= 0:
        m = 2
        break
print("Yes" if m == 1 else "No")
a, b, c, d = map(int, input().split())
if -(-a//d)+1 > -(-c//b):
  print('Yes')
else:
  print('No')
A,B,C,D = map(int,(input().split()))
i=0
while(A>0 and C>0):
  if(i%2==0):
    C-=B
  else:
    A-=D
  i+=1
if(A>0):
  print("Yes")
else:
  print("No")
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
#ABC 164B

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

while True:
    c -= b
    if c<=0:
        print('Yes')
        exit()
    a -= d
    if a<=0:
        print('No')
        exit()
A, B, C, D = map(int, input().split())

while A > 0 and C > 0:
    C = C - B
    A = A - D

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

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

tn = math.ceil(C/B)
an = math.ceil(A/D)

if tn <= an:
    print("Yes")
else:
    print("No")
A,B,C,D = map(int, input().split())
THP = A
AHP = C
while(True):
    #高橋のターン
    AHP -= B
    if(AHP <= 0):
        print("Yes")
        break
    #青木のターン
    THP -= D
    if(THP <= 0):
        print("No")
        break
a,b,c,d = list(map(int,input().split()))

for i in range(100):
    c -= b
    if c <= 0:
        print('Yes')
        break

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

import math

if math.ceil(c/b)<=math.ceil(a/d):
    print('Yes')
else:
    print('No')
# This Python file uses the following encoding: utf-8

# if __name__ == "__main__":
#     pass
a, b, c, d = map(int, input().split())
'''
while a > 0 and c > 0:
    c -= b
    a -= d
if c <= 0:
    print("Yes")
else:
    print("No")
'''
if  -(-c//b) <= -(-a//d):
    print("Yes")
else:
    print("No")
a, b, c, d = map(int, input().split())

for i in range(max(a, b, c, d)):
  if b >= c:
    print('Yes')
    exit()
  else:
    c -= b
    if a <= d:
      print('No')
      exit()
    else:
      a -= d
      continue
a, b, c, d = (int(x) for x in input().split())

while 1:
    c -= b
    if c <= 0:
        print('Yes')
        exit()
    a -= d
    if a <= 0:
        print('No')
        exit()
a,b,c,d=map(int,raw_input().split())
if a%d==0:
	p=a/d
else:
	p=a/d + 1

if c%b==0:
	q=c/b
else:
	q=c/b + 1

if q<=p:
	print "Yes"

else:
	print "No"
import math
A, B, C, D = input().split(' ')

takahasi_tairyoku = int(A)
aoki_tairyoku = int(C)

takahasi_kougeki = int(B)
aoki_kougeki = int(D)

takahasi_count = math.ceil(aoki_tairyoku / takahasi_kougeki) # 高橋はアオキを何回で倒せるか
aoki_count = math.ceil(takahasi_tairyoku / aoki_kougeki) # アオキは高橋を何回で倒せるか
# print(takahasi_count, aoki_count)
if (takahasi_count <= aoki_count):
  print('Yes')
else:
  print('No')
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
import math
a,b,c,d = map(int,input().split())

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

if math.ceil(a/d) >= math.ceil(c/b):
    print("Yes")
else:
    print("No")
a,b,c,d=map(int,input().split())
while a>0 and b>0:
  c-=b
  a-=d
if a<=0 and c>0:
  print('No')
elif c<=0:
  print('Yes')
a, b, c, d = map(int, input().split())

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

    a = a - d
    if a <= 0:
        print("No")
        break
A,B,C,D = map(int,input().split())

while A > 0 or C > 0:
    C = C-B
    if C <= 0:
        print('Yes')
        break
    A = A-D
    if A <= 0:
        print('No')
        break
A,B,C,D=map(int,input().split())
 
while True:
    C=C-B
    if C<=0:
        break
    A=A-D
    if A<=0:
        break
 
if C<=0:
    print('Yes')
else:
    print('No')
def solve():
    A,B,C,D = [int(i) for i in input().split()]
    takahashi_attack_cnt = (C+B-1) // B
    aoki_attack_cnt = (A+D-1) // D
    if takahashi_attack_cnt <= aoki_attack_cnt:
        print("Yes")
    else:
        print("No")

if __name__ == "__main__":
    solve()
A, B, C, D = map(int, input().split())
while A>1 :
  C=C-B
  A=A-D
else:
  if C>0 and A<=0:
    print("No")
  elif C<0 or C-B<=0:
    print("Yes")
  else:
    print("No")
a, b, c, d = map(int, input().split())
i = 0
while a > 0 and c > 0:
  if i%2==0:
    c -= b
  else:
    a -= d
  i+=1
    
if a <= 0:
  print("No")
else:
  print("Yes")
A, B, C, D = list(map(int, input().split()))

a = A // D
b = C // B
N = max(a, b) + 1
for i in range(N):
    if C > 0:
        C -= B
        if C <= 0:
            break
    if A > 0:
        A -= D
        if A <= 0:
            break

ans = "No"
if A > C:
    ans = "Yes"

print(ans)
a, b, c, d = map(int, input().split())
n = -(-c//b)
m = -(-a//d)
if n <= m:
    print('Yes')
else:
    print('No')
t_hp, t_atk, a_hp, a_atk = map(int, input().split())
while (1):
    a_hp -= t_atk
    if a_hp <= 0:
        ans = "Yes"
        break
    t_hp -= a_atk
    if t_hp <= 0:
        ans = "No"
        break
    
print(ans)
def solve(a, b, c, d):
    while True:
        c -= b
        if c <= 0:
            return 'Yes'
        a -= d
        if a <= 0:
            return 'No'
A, B, C, D = map(int, input().split()) 
print(solve(A, B, C, D))
A, B, C, D=map(int,input().split())

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

x=a//d
if a%d!=0:
  x+=1
y=c//b
if c%b!=0:
  y+=1

if x<y:
  print("No")
else:
  print("Yes")
import math

a, b, c, d = [float(n) for n in input().split()]

if math.ceil(a/d) >= math.ceil(c/b):
    print("Yes")
else:
    print("No")
t_h, t_a, a_h, a_a = [int(i) for i in input().split()]

turn = True
while True:
    if turn:
        a_h -= t_a
    else:
        t_h -= a_a

    turn = not turn

    if a_h <= 0:
        print('Yes')
        break
    if t_h <= 0:
        print('No')
        break
hp_t, attack_t, hp_a, attack_a = map(int, input().split())
def battle(hp_t, attack_t, hp_a, attack_a, p):
    
    if p == 't':
        hp_a -= attack_t
    else:
        hp_t -= attack_a
        
    if hp_t <= 0:
        return 'No'
    elif hp_a <= 0:
        return 'Yes'
    
    return battle(hp_t, attack_t, hp_a, attack_a, 't' if p == 'a' else 'a')
print(battle(hp_t, attack_t, hp_a, attack_a, 't'))
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")
a,b,c,d = map(int, input().split())

def solve(a,b,c,d):
    while True:
        c -= b
        if c <= 0:
            return "Yes"
        a -= d
        if a <= 0:
            return "No"

print(solve(a,b,c,d))
import math
A, B, C, D = map(int, input().split())
t_mon = [A, B]
a_mon = [C, D]
t_turn = math.ceil(t_mon[0] / a_mon[1])
a_turn = math.ceil(a_mon[0] / t_mon[1])

if t_turn >= a_turn:
    print('Yes')
else:
    print('No')
A, B, C, D= map(int,input().split())
if (A+D-1)//D < (C+B-1)//B:
    print("No")
else:
    print("Yes")
import math
A,B,C,D=[int(s) for s in input().split()]
taka=math.ceil(C/(B+0.0))
aoki=math.ceil(A/(D+0.0))
if taka>aoki:
  print('No')
else:
  print('Yes')
A, B, C, D = map(int,input().split())

while A > 0 and C > 0:
    A -= D
    C -= B

if C <= 0:
    print("Yes")
else:
    print("No")
a, b, c, d = map( int, input().split() )
#print( a, b, c, d )
 
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())
co,coo=0,0
while a>0:
    a=a-d
    co+=1
while c>0:
    c-=b
    coo+=1
print("No" if coo>co else "Yes")
a,b,c,d=[int(i) for i in input().split()]
c=-(-c//b)
a=-(-a//d)
print("Yes" if c<=a else "No")
import math

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

if math.ceil(a / d) < math.ceil(c / b):
    print('No')
else:
    print('Yes')
# Battle
ln = list(map(int, input().split(' ')))
thp = ln[0]
tatk = ln[1]
ahp = ln[2]
aatk = ln[3]
turn = 0
while thp>0 and ahp>0:
    if turn %2 == 0:
        ahp -= tatk
        turn += 1
    else:
        thp -= aatk
        turn += 1

if thp>0:
    print('Yes')
else:
    print('No')
tH,tA,aH,aA=map(int,input().split())
print("Yes") if (aH-1)//tA+1<=(tH-1)//aA+1 else print("No")
a, b, c, d = map(int, input().split())
if (c + b - 1) // b <= (a + d - 1) // d:
    print('Yes')
else:
    print('No')
import sys
A,B,C,D = map(int,input().split())

for i in range(1000):
    C -= B
    if C <= 0:
        print("Yes")
        exit()
    A -= D
    if A <= 0:
        print("No")
        exit()
a,b,c,d=map(int,input().split())
while(a>0 and c>0):
    c-=b
    a-=d
if c<=0:
    print("Yes")
else:
    print("No")
def main():
    abcd = list(map(int, input().split()))
    aok = (abcd[2]-1) // abcd[1]
    tac = (abcd[0]-1) // abcd[3]
    print('Yes' if tac >= aok else 'No')

if __name__ == '__main__':
    main()
a,b,c,d=map(int,input().split())
t=-(-c//b)
a=-(-a//d)
if t<=a:
    print("Yes")
else:
    print("No")
from itertools import count

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

for i in count():
    if i % 2 == 0:
        c -= b
        if c <= 0:
            print('Yes')
            break
    else:
        a -= d
        if a <= 0:
            print('No')
            break
import math
a,b,c,d= map(int,input().split())
n=math.ceil(float(a)/d)
m=math.ceil(float(c)/b)
if m<=n:
  print("Yes")
else:
  print("No")
import math
a,b,c,d=map(int,input().split())

takahashi = math.ceil(a/d)
aoki = math.ceil(c/b)

if takahashi>=aoki:
    print('Yes')
else:
    print('No')
A,B,C,D = map(int,input().split(' '))
count1 = 0
while A > 0:#先攻高橋のモンスターが死ぬまでの回数
    A -= D
    count1 += 1
count2 = 0
while C > 0:#後攻青木のモンスターが死ぬまでの回数
    C -= B
    count２ += 1 
if count1>count2:
    #青木のモンスターが先死んだ→高橋の勝ち
    print('Yes')
elif count1<count2:
    print("No")
elif count1 == count2:
    print("Yes")
a, b, c, d = map(int,input().split())


if -(-c // b) <= -(-a // d):
    print('Yes')
else:
    print('No')
import sys
input = sys.stdin.readline
from collections import deque

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

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

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

while a>0 or b>0:
    c -= b
    if c <=0:
        print('Yes')
        sys.exit()
    else:
        a -= d
        if a<=0:
            print('No')
            sys.exit()
A, B, C, D = (int(x) for x in input().split())

while A > 0 and C > 0:
    C = C - B
    if C <= 0:
        print ("Yes")
    else:
        A = A - D
        if A <= 0:
            print ("No")
        else:
            continue
import sys
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))

a,b,c,d=MAP()

while True:
    c-=b
    if c<=0:
        print("Yes")
        exit()
    a-=d
    if a<=0:
        print("No")
        exit()
A, B, C, D = map(int, input().split())
ans = 'Yes'
while True:
    C -= B
    if C <= 0:
        break

    A -= D
    if A <= 0:
        ans = 'No'
        break

print(ans)
import sys
int1 = lambda x: int(x) - 1
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(500000)

A, B, C, D = map(int, read().split())
taka = (A + D-1) // D
ao = (C+B-1) // B

if taka >= ao:
    print("Yes")
else:
    print("No")
A, B, C, D = list(map(int, input().split()))

while(A > 0 or C > 0):
    C -= B
    if(C<=0):
        print("Yes")
        break
    A -= D
    if(A<=0):
        print("No")
        break
# -*- coding: utf-8 -*-

TT, TA, AT, AA = map(int, input().split())

while True:
    AT = AT - TA # T attack
    if (AT <= 0):
        print("Yes")
        break

    TT = TT - AA #A attack
    if (TT <= 0):
        print("No")
        break
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
a, b, c, d = map(int, input().split())
while a > 0 and c > 0:
    c -= b
    if c <= 0:
        break
    a -= d
print('Yes' if c <= 0 else 'No')
import math

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

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

a2 = a
c2 = c
while True:
  c2-=b
  if c2 <= 0:
    print('Yes')
    exit()
  a2-=d
  if a2 <= 0:
    print('No')
    exit()
a, b, c, d = map(int, input().split())
#たかはしのa体力、b攻撃
#あおきのc体力、d攻撃
flag = 0
while(c>0 and a>0):
  c -= b
  if (c<=0):
    flag = 1
  a -= d
  if (a<=0 and c>0):
    flag = 2
if (flag == 1):
  print('Yes')
else:
  print('No')
import math

stMap = map(int, input().split())
st = list(stMap)

if (math.ceil(st[0] / st[3]) >= math.ceil(st[2] / st[1])):
    print('Yes')
else:
    print('No')
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
def main():
    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()


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

aoki_out = math.ceil(C/B)
taka_out = math.ceil(A/D)

if(aoki_out <= taka_out):
  print('Yes')
else:
  print('No')
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
a,b,c,d = map(int,input().split())
for i in range(10**10):
    if i%2 == 0:
        c-=b
    else:
        a-=d
    if a <= 0:
        print("No")
        break
    elif c <= 0:
        print("Yes")
        break
A,B,C,D=map(int, input().split())
print('Yes' if (C+B-1)//B <= (A+D-1)//D else 'No')
a,b,c,d = map(int, input().split())

i = 0
while a > 0 and c > 0:
    if i%2 == 0:
        c -= b
    else:
        a -= d
    i += 1

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

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

if c<=0: 
    print('Yes')          
else:  
    print('No')
a,b,c,d=map(int,input().split())
print('Yes' if (a+d-1)//d >= (c+b-1)//b else 'No')
a, b, c, d = list(map(int, input().split()))
while(True):
    c -= b
    if c <= 0:
        print('Yes')
        exit()
    a -= d
    if a <= 0:
        print('No')
        exit()
a,b,c,d = map(int,input().split())
for i in range(100):
  c -= b
  if c <=0:
    ans = 'Yes'
    break
  a -= d
  if a <= 0:
    ans = 'No'
    break
print(ans)
a, b, c, d = map(int, input().split())
x = -(-a // d)
y = -(-c // b)
if x == y:
    print('Yes')
if x < y:
    print('No')
if x > y:
    print('Yes')
A,B,C,D = map(int,input().split())
 
if (A+D-1)//D >= (C+B-1)//B:
    print("Yes")
else:
    print("No")
A,B,C,D = list(map(int,input().split()))
T = -(-C//B)
AO = -(-A//D)
print('Yes' if T<=AO else 'No')
a,b,c,d = map(int, input().split())

t = (a+d-1)//d
o = (c+b-1)//b

if t >= o:
    print('Yes')
else:
    print('No')
a, b, c, d = map(int, input().split())
while a > 0 and c > 0:
  c -= b
  a -= d
if c <= 0:
  print('Yes')
else:
  print('No')
lis  = list(map(int,input().split()))

while True:
    lis[2] -= lis[1]
    if lis[2] <= 0:
        print("Yes")
        break
    lis[0] -= lis[3]
    if lis[0] <= 0:
        print("No")
        break
import math

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

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

if C % B != 0:
    ans_A =  ((C // B) + 1)
else:
    ans_A = C // B

if A % D != 0:
    ans_C =  A // D + 1
else:
    ans_C = A // D


if ans_A <= ans_C:
    print('Yes')
else:
    print('No')