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:
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:
    A -= D 
    if A <= 0 :
        print( 'No' )
        exit()
    C -= B
    if C <= 0 :
        print( 'Yes' )
        exit()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

if(abs(C/B+1)>abs(A/C+1):
    print('No')

else:
    print('Yes')

Submission status: Runtime Error

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

if(abs(C/B+1)>abs(A/C+1):
    print('No')

else:
    print('Yes')

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math from sys
a,b,c,d = map(int, input().split())
if abs(c-b) > abs(d-a):
  print("No")
else:
  print("Yes")

Submission status: Runtime Error

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

if (abs(a-b) > abs(c-d)):
  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:
    input("Yes")
    break
  A-=D
  elif A<=0:
    input("No")
    break

Submission status: Runtime Error

Solution code:
#入力
HPlist = list(map(int, input().split()))
HPlist[0] = A
HPlist[1] = B
HPlist[2] = C
HPlist[3] = D


#高橋の攻撃何発分か
if C % B == 0:
    aokiDeath = C // B
else:
    aokiDeath = C // B + 1 

#青木の攻撃何回分か
if A % D == 0:
    takahashiDeath = A // D
else:
    takahashiDeath = A // D + 1

if aokiDeath <= takahashiDeath:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

#各々HPを定義
int takahashi = A
int aoki = C
int aokiDeath
int takahashiDeath

#高橋の攻撃何発分か
if C % B == 0:
    aokiDeath = C // B
else:
    aokiDeath = C // B + 1 

#青木の攻撃何回分か
if A % D == 0:
    takahashiDeath = A // D
else:
    takahashiDeath = A // D + 1

if aokiDeath <= takahashiDeath:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

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

if n>=m:
    print('Yes')
elif n<m:
    print('No'

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
t_hp, t_ap, a_hp, a_ap = map(int,input().split())

while t_hp > 0 or a_hp > 0:
    a_hp -= t_ap
    if a_hp <= 0:
        return 'Yes'
        break

    t_hp -= a_ap
    if t_hp <= 0:
        return 'No'
        break

Submission status: Runtime Error

Solution code:

t_hp, t_ap, a_hp, a_ap = map(int,input().split())

while t_hp == 0 or a_hp == 0:
    a_hp -= t_ap
    if a_hp <= 0:
        return 'Yes'
        break

    t_hp -= a_ap
    if t_hp <= 0:
        return '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")
        break

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

Submission status: Runtime Error

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

if c % d == 0:
    f = c / b
else:
    f = a / d + 1
    
if e > f:
    print("Yes")
elif e == f:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
I = input("")
i = I.split(" ")
A = int(i[0])
B = int(i[1])
C = int(i[2])
D = int(i[3])

n1 = C/B
n2 = A/D

if n1<=n2:
    print("Yes")
elif n1 - int(n1)=0:
    if n1-n2<1:
        print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
x,y,z,w=map(int,input().split())

while True:
	z=z-y
    if z<=0:
        print("Yes")
        break
    x=x-w
    if x<=0
    	print("No")
      	break

Submission status: Runtime Error

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

Submission status: Runtime Error

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

n1 = (a + d - 1) // d
n2 = (c + b - 1) // b

if n1 => n2:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
I = input("")
i = I.split(" ")
A = int(i[0])
B = int(i[1])
C = int(i[2])
D = int(i[3])

n1 = C?B
n2 = A/D

if n1 < n2:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
input_line = input().split()
A = int(input_line[0])
B = int(input_line[1])
C = int(input_line[2])
D = int(input_line[3])

X = A/D
Y = B/C
if X > Y:
  print('Yes')
    
elif Y > X:
  print('No')

else X ==Y:
    print('Yes')

Submission status: Runtime Error

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

n = int(input())
a = set()

for i in range(n):
    a.add(input())

print(len(a))

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-

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

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 True:
  	b -= c
 	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 True:
	b -= c
	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 True:
	b -= c
	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 True:
	b -= c
	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 True:
	b -= c
	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
	b -= c
	if c<=0
		print"Yes"
 		break
	a -=d
	if a<=0
      	print"No"
        break

Submission status: Runtime Error

Solution code:
print(len({input() for _ in range(int(input()))}))

Submission status: Runtime Error

Solution code:
t_hp,t_at,a_hp,a_at=input().split()
while(int(t_hp) > 0 and int(a_hp) > 0):
  int(a_hp) -= int(t_at)
  if int(a_hp) <= 0:
    print("Yes")
    break
  int(t_hp) -= int(a_at)
  if int(t_hp <= 0:
         print("No")
         break

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;

int main(){
	int A,B,C,D;
  	cin>>A>>B>>C>>D;
  	int X=(A+D-1)/D;
  	int Y=(C+B-1)/B;
	cout<<(X>=Y?"Yes":"No")<<"\n";

}

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;
int main(){
int A,B,C,D;
cin>>A>>B>>C>>D;
int X=(A+D-1)/D;
int Y=(C+B-1)/B;
cout<<(X>=Y?"Yes":"No")<<"\n";
}

Submission status: Runtime Error

Solution code:
#ABC164 B
p = [int(x) for x in input().split()]

takahashi_turn = True
while (p[0]<=0) or (p[2]<=0):
    if takahashi_turn:
        p[2] = p[2] - p[1]
    else:
        p[0] = p[0] - p[3]
    takahashi_turn = ! takahashi_turn

if p[0] > 0:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = int(input())
d = int(input())
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 True:
	c-=b
	if c<=0:
		print("Yes")
		break
	a-=d
	if a<=0:
		print("No")
		break

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])
e=c//b
f=a//d
if e<f and :
  print("Yes")
elif e==f and c%b==0:
  print("Yes")
elif e==f+1 and c%b!=0:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
ta, 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 True:
	c -= b
    if c <= 0:
     	print("Yes")
    else:
      	a -= d
    	if a <= 0:
          print("No")

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
A,B,C,D = map(int,input().split())
for num in range(0,):
    aoki = C - B
    taka = A - D
    if (aoki or taka) <= 0 : break
    else : pass

#print(aoki,taka)
if aoki <= 0 : print("Yes")
elif taka <= 0 : print("No")

Submission status: Runtime Error

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

if(C/B==A/D and C%D!=0 and C/B==0):
    print("No")
elif((C/B-A/D)==1 and A%D!=0):
    print("Yes")
elif((C/B==A/D)and C%B==0):
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

if(C/B==A/D and C%D!=0 and C/B==0): print("No") elif((C/B-A/D)==1 and A%D!=0): print("Yes") elif((C/B==A/D)and C%B==0): print("Yes") else: print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
t, k, c, d = [int(x) for x in input().split()]
while (t >= 0 or c >= 0):
  c = c - k
  if c <= 0:
    print("Yes")
    break
  t = t - d
  if a <= 0:
    print("No")
    break

Submission status: Runtime Error

Solution code:
N = int(input())
list = {input() for _ in range(N)}
print(len(list))

Submission status: Runtime Error

Solution code:
t, k, c, d = (int(x) for x in input().split())
while (t >= 0 or c >= 0):
  c = c - k
  if c <= 0:
    print("Yes")
    break
  t = t - d
  if a <= 0:
    print("No")
    break

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
if t_n <= a_n:
    print('YES')
else:
    print('NO')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
while (C>=0 or A>=0):
    if C<=0:
        print('Yes')
    else:
        C=C-B
    if A<=0:
        print('Yes')
    else:
        A=A-D

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

if abs(a-b)%2=1 > abs(c-d)%2=0:
    print('No')
else:
    print('yes')

Submission status: Runtime Error

Solution code:
th, ts, ah,as  = map(int, input().spilt())
turn = 1
#1 represent takashi monster turn
#0 represent aoki monster turn
while(1):
  if(turn):
    ah-=ts
    if(ah<=0):
      print("No")
      break
  else:
    th-=as
    if(th<=0):
      print("Yes")
      break
  turn^=1

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = int(input())
d = int(input())

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
arg = input()
a = (int)(arg.split())[0]
b = (int)(arg.split())[1]
c = (int)(arg.split())[2]
d = (int)(arg.split())[3]

while true:
  a = a - d
  if a <= 0:
    print('No')
    break
  c = c - b
  if c <= 0:
	print('yes')
	break

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

if (abs(a-b))%2>0 and (abs(c-d)%2)<0:
    print("No")
else:
    print("yes")

Submission status: Runtime Error

Solution code:
while C>0 or A>0:
    if C<=0:
        print('Yes')
    else:
        C=C-B

    if A<=0:
        print('No')
    else:
        A=A-D

Submission status: Runtime Error

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

if (abs(a-b))%2>0 and (abs(c-d)%2)<0:
    print('No')
else:
    print('yes')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

if abs(a-b)%2 >0 and abs(c-d)%2<0:
    print('No')
else:
    print('yes')

Submission status: Runtime Error

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

j = 0
k = 0

while i < 100:
  j = a - d
  k = c - b
  i += 1
  if j == 0 or k == 0:
    break

if j == 0:
  print("No")
elif k == 0:
  print("Yes")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A = int(input())
B = int(input())
C = int(input())
D = int(input())
while (A>0 and C>0):
    C = C - B
    if C <= 0:
        break
    A = A - D
print("Yes" if C<=0 else "NO")

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
A,B,C,D = map(int,imput().split())
x = C // B
y = A // D
if x >= y:
  print("Yes")
elif y > x:
  print("No")

Submission status: Runtime Error

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

if abs(a-b)%2=1 > abs(c-d)%2=0:
    print('No')
else:
    print('yes')

Submission status: Runtime Error

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

if abs(a-b)%2=1 > abs(c-d)%2=0:
    print('No')
else:
    print('yes')

Submission status: Runtime Error

Solution code:
#include<iostream>

using namespace std;
int a, b, c, d;

int main(){
  cin >> a >> b >> c >> d;
  while (1){
    c = c - b;
    if (c <= 0){
      cout << "Yes" << endl;
      break;
    }
    a = a - d;
    if (a <=0){
      cout << "No" << endl;
      break;
    }
  }


}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

t = C /B
a = A /D

if B > C:
    ans = "Yes"
elif B < C and A % D ==0:
    ans = "No"
else:
    if t <= a+1:
        ans = "Yes"
    elif A % D == 0 and C % B ==0:
        ans = "Yes"
    elif A % D == 0:
        ans = "No"

print(ans)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

if abs(a-b)%2 > abs(c-d)%2:
    print("No")
else:
    print("yes")

Submission status: Runtime Error

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

if abs(a-b)> abs(c-d):
    print("No")
 print("yes")

Submission status: Runtime Error

Solution code:
A,B,C,D = map(int, input().split())
for i in range(1,):
  while A < 0 or C < 0:
    if i%2==1:
      C=C-B*(((i-1)/2)+1)
    if i%2==0:
      A=A-D*(i/2)
　　if A > 0 and C < 0:
  　　print('Yes')
　　if A < 0 and C > 0:
  　　print('No')

Submission status: Runtime Error

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

if abs(a-b)> abs(c-d):
    print("No")
else:
    print("yes")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

A = int(input())
B = int(input())
C = int(input())
D = int(input())

E = math.ceil(C/B)
F = math.ceil(A/D)

if E <= F :
   print('yes')

else :
    print('no')

Submission status: Runtime Error

Solution code:
S,W=map(int,input().split())
if S<=W:
    print("unsafe")
else:
    print("safe")

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
#a,b :先攻
aoki = c//b #１０回耐える
taka = a//d  #１０回耐える
nokori_a = c - (aoki+1)*b
#nokori_t = a - aoki*d

if aoki < taka:
  print("Yes")
  
elif aoki == taka:
  if not taka == a/d:
    print("Yes")
elif aoki ==1 + taka:
  if not taka==a/d:
    if nokori_a <=0:
      print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
N=[int(x) for x in input().split()]
if not N[2]%N[1]==0:
   c=N[2]//N[1]+1
else:
    c=N[2]//N[1]
if not N[0]%N[3]==0:
   c=N[0]//N[3]+1

   d=N[0]//N[3]+1
else:
    d=N[0]//N[3]
if d=>c:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
while C > 0 and A > 0:
    C -= B
    A -= D
    if C <= 0:
        print("Yes")
    elif A <= 0:
        print("No")
    else:
        pass

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
K = input().split(" ")
k = [int(n) for n in K]
t =k[0]//k[3]
a = k[2]//k[1]
t1 = k[0]%k[3]
a1 = k[2]%k[1]
if t > a:
    print('Yes')
elif t == a and a1 /= 0:
    print('Yes')
elif t == a and t1 /= 0:
    print('No')
else:
    print('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
ht,st,ha,sa = list(map(int, input().split(' ')))
bool_player = True #Takashi
while (ht <= 0 || st <= 0):
  if bool_player:
    ha -= st
    bool_player = False
  else:
    ht -= sa
    bool_player = True

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a, b, c, d= map(int, input().split())
if abs(a-b)%2=1 and abs(c-d)%2=0:
    print("No")
else:
    print("yes")

Submission status: Runtime Error

Solution code:
a, b, c, d= map(int, input().split())
if (a-b)%2=1 and (c-d)%2=0:
    print("No")
else:
    print("yes")

Submission status: 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) or (c<=0):
  if c>0:
    c -= b
  else:
    break
   
  if a>0:  
    a -= d
  else:
    break
  
else:
  break

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
while a > 0 & c > 0:
    a = a
    c = c - i*b

    if c > 0:
        a = a-i*d
        c = c

        i += 1
if a <= 0:
    print('No')
if c <= 0 :
    print('Yes')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# a:高橋 体力
# b:高橋 攻撃力
# c:青木　体力
# d:青木　攻撃力

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

while c > 0:
  c = c-b　#青木体力
  if c <= 0:
    print("Yes")
  a = a-d
  if a <= 0:
    print("No")

Submission status: Runtime Error

Solution code:
# a:高橋 体力
# b:高橋 攻撃力
# c:青木　体力
# d:青木　攻撃力

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

while c > 0:
  c = c-b　#青木体力
  if c <= 0:
    print("Yes")
  a = a-d
  if a <= 0:
    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 = input()
B = input()
C = input()
D = input()
E = A + B
F = C + D
if E > F:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
a, b, c, d= map(int, input().split())
a =a%2
b =b%2
c =c%2
d =d%2
if abs(a-b)=1> abs(c-d)=0:
    print('No')
else:
    print('yes')

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:
import sys 
import math
try:
	sys.stdin = open('input.txt', 'r') 
	sys.stdout = open('output.txt', 'w')
except:
	pass
input = sys.stdin.readline
for tt in range(1):
	a,b,c,d = map(int,input().split())
	elif math.ceil(c/b) - math.ceil(a/d)<= 0:
		print ("Yes")
	else:
		print("No")

Submission status: Runtime Error

Solution code:
# a:高橋 体力
# b:高橋 攻撃力
# c:青木　体力
# d:青木　攻撃力

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

while c > 0:
	c = c-b　#青木体力
	if c <= 0:
		print("Yes")
    a = a-d
    if a <= 0:
      	print("No")

Submission status: Runtime Error

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