Problem:


Score : 200 points

Problem Statement

Takahashi and Aoki will have a battle using their monsters.

The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively.

The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ...
Here, an attack decreases the opponent's health by the value equal to the attacker's strength.
The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins.

If Takahashi will win, print Yes; if he will lose, print No.

Constraints

1 \leq A,B,C,D \leq 100

All values in input are integers.

Input

Input is given from Standard Input in the following format:

A B C D

Output

If Takahashi will win, print Yes; if he will lose, print No.

Sample Input 1

10 9 10 10

Sample Output 1

No

First, Takahashi's monster attacks Aoki's monster, whose health is now 10-9=1.

Next, Aoki's monster attacks Takahashi's monster, whose health is now 10-10=0.

Takahashi's monster is the first to have 0 or less health, so Takahashi loses.

Sample Input 2

46 4 40 5

Sample Output 2

Yes



Sample input:
10 9 10 10


Sample output:
No

Submission status: Wrong Answer

Solution code:
# 高橋君のモンスター　体力A、攻撃力B
# 青木君のモンスター　体力C、攻撃力D
# 高橋->青木->高橋->青木->...の順に攻撃する
# 高橋勝つならYes、負けるならNo

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

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

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

Submission status: Wrong Answer

Solution code:
# 高橋君のモンスター　体力A、攻撃力B
# 青木君のモンスター　体力C、攻撃力D
# 高橋->青木->高橋->青木->...の順に攻撃する
# 高橋勝つならYes、負けるならNo

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

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

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

Submission status: Wrong Answer

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

while C > 0:
    C = C - B
    if C <= 0:
        print('Yes')
        break

while A > 0:
    A = A - D
    if A <= 0:
        print('No')
        break

Submission status: Wrong Answer

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

while C - B > 0:
    x = C - B
    if C <= 0:
        print('Yes')

while A - D > 0:
    y = A - D
    if A <= 0:
        print('No')

Submission status: Wrong Answer

Solution code:
# 高橋君のモンスター　体力A、攻撃力B
# 青木君のモンスター　体力C、攻撃力D
# 高橋->青木->高橋->青木->...の順に攻撃する
# 高橋勝つならYes、負けるならNo

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

for i in range(1, 100):
    if c - b*i  <= 0:
        print("Yes")
        exit()

    if a - d*i <= 0:
        print("No")
        exit()

Submission status: Wrong Answer

Solution code:

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

m = C // B  #青木君の耐えうるターン
if C % B == 0:
    m = m+1

n = A // D  #高橋君の耐えうるターン
if A % D == 0:
    n = n+1

if n < m :
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:

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

m = C // B  #青木君の耐えうるターン
if C % B == 0:
    m = m+1

n = A // D  #高橋君の耐えうるターン
if A % D == 0:
    n = n+1

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

Submission status: Wrong Answer

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

m = A // D #高橋君の耐えうるターン
n = C // B #青木君の耐えうるターン

if m > n:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

m = A // D #高橋君の耐えうるターン
n = C // B #青木君の耐えうるターン

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

Submission status: Wrong Answer

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

m = A//D
n = B//C

if m>n :
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

if C != 0:
    print('No')

else:
    print('Yes')

Submission status: Wrong Answer

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

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

if C != 0:
    print('No')

else:
    print('Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if A-D<C-B:
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# 164
# 高橋君モンスター体力A/攻撃力B
# 青木君ﾓﾝｽﾀｰ体力C/攻撃力D
# 高橋→青木→高橋→青木の順番
# 相手のﾓﾝｽﾀｰの体力を自分のﾓﾝｽﾀｰの攻撃分減らせる。C＝C-B/A=A-D
# どちらかの体力が０以下になるまで戦い続ける。 A<0 B<0
# 先に自分のﾓﾝｽﾀｰの体力が０になった方が負け。
# 高橋君が勝つなら”YES”負けるなら”NO”を出力

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

Submission status: Wrong Answer

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

while True:
    C -= B
    A -= D
    
    if C <= 0:
        result = "YES"
        break
    if A <= 0:
        result = "NO"
        break

print(result)

Submission status: Wrong Answer

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

while True:
    C -= B
    A -= D
    if C <=0:
        result = "YES"
        break
    if A<=0:
        result = "NO"
        break

print(result)

Submission status: Wrong Answer

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

while True:
    C-=B
    A-=D
    if C<=0:
        result="YES"
        break
    if A<=0:
        result="NO"
        break

print(result)

Submission status: Wrong Answer

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

while True:
    C-=B
    A-=D
    if C<=0:
        result="YES"
        break
    if A<=0:
        result="NO"
        break

print(result)

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
# abc164B
# https://atcoder.jp/contests/abc164/tasks/abc164_b

# 高橋君モンスターの体力はA、攻撃力はB
# 青木君モンスターの体力はC、攻撃力はD

# 高橋君が勝ったら"Yes"、負けたら"No"

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

# 処理
# 必殺技を受けた残りの体力
while a > 0 and c > 0:
    a -= d
    c -= b

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

Submission status: Wrong Answer

Solution code:
# abc164B
# https://atcoder.jp/contests/abc164/tasks/abc164_b

# 高橋君モンスターの体力はA、攻撃力はB
# 青木君モンスターの体力はC、攻撃力はD

# 高橋君が勝ったら"Yes"、負けたら"No"

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

# 処理
# 必殺技を受けた残りの体力
while a > 0 and c > 0:
    a -= d
    c -= c

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

T_kougeki = C / B     # 高橋くんが攻撃して、青木くんの体力が0になるまでの回数
A_kougeki = A / D     # 青木くんが攻撃して、高橋くんの体力0になるまでの回数

if T_kougeki >= A_kougeki:
    print('Yes')

else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int,input().split())
while a>=0 and b>=0:
  a-=d
  b-=c

if a <= 0 and c<=0:
  print('Yes')
elif c <= 0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int,input().split())
while a>=0 and b>=0:
  a-=d
  b-=c

if a == 0 and c==0:
  print('Yes')
elif c == 0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int,input().split())
while a>=0 and b>=0:
  a-=d
  b-=c

if a == 0 and c==0:
  print('Yes')
elif d == 0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

i = 0
i1 = 0

while a > 0:
    a -= b
    i += 1

while c > 0:
    c -= d
    i1 += 1

if i <= i1:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

takahashi = a / b
aoki = c / d

if float(takahashi) <= float(aoki):
    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(A/D) >= math.ceil(B/C) else "No")

Submission status: Wrong Answer

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

T_HP = A
T_AT = B
A_HP = C
A_AT = D
T_count = 0
A_count = 0

while T_HP > 0:
    T_HP -= A_AT
    T_count += 1
while A_HP > 0:
    A_HP -= T_AT
    A_count += 1
    
if T_count > A_count:
    print('Yes')
if T_count == A_count:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

T_HP = A
T_AT = B
A_HP = C
A_AT = D
T_count = 0
A_count = 0

while T_HP > 0:
    T_HP -= A_AT
    T_count += 1
while A_HP > 0:
    A_HP -= T_AT
    A_count += 1
print(T_count)
print(A_count)

if T_count > A_count:
    print('Yes')
if T_count == A_count:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

T_HP = A
T_AT = B
A_HP = C
A_AT = D
T_count = 0
A_count = 0

while T_HP >= 0:
    T_HP -= T_AT
    T_count += 1
while A_HP >= 0:
    A_HP -= A_AT
    A_count += 1

if T_count >= A_count:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

T_HP = A
T_AT = B
A_HP = C
A_AT = D
T_count = 0
A_count = 0

while T_HP >= 0:
    T_HP -= T_AT
    T_count += 1
while A_HP >= 0:
    A_HP -= A_AT
    A_count += 1

if T_count > A_count:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
S_list = list(map(int,input().split()))
A,B,C,D = S_list
takahashi ,aoki = A, C
while takahashi > 0 or aoki > 0:
    aoki = aoki - B
    if aoki <=0:
        break
    takahashi = takahashi - D
    
if takahashi > aoki:
    result = "Yes"
else:
    result = "No"
print(result)

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())
# print(A,B,C,D)

aoki = C % B
taka = A % D

# print(aoki)
# print(taka)

if aoki <= taka:
    print("Yes")
else:
    print("No")

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('No')
        break
    elif a <= 0:
        print('Yes')
        break
    else:
        pass

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('No')
        break
    elif a < 0:
        print('Yes')
        break
    else:
        pass

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
N = list(map(int,input().split()))
s = N[2]
r = N[3]
while s or r >= 0:
    s -= N[1]
    r -= N[0]
    if s <= 0:
        print('Yes')
        break
    if s > 0 and r <= 0:
        print('No')
        break

Submission status: Wrong Answer

Solution code:
N = list(map(int,input().split()))
s = N[1]
r = N[3]
while s or r >= 0:
    s -= N[1]
    r -= N[0]
    if s <= 0:
        print('Yes')
        break
    if s > 0 and r <= 0:
        print('-1')
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B, C, D = 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())


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

mons_a = a // d
mons_b = c // b

if mons_a >= mons_b:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

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

if c//b==1:
    if a==d:
        print('No')
    else :
        print('Yes')

elif (c//b-1)*d < a:
    print('Yes')
else :
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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>=c:
	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>=c:
	print('Yes')
else :
	print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

if takahashi >= aoki:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

    while A>0 and B>0 :
        C -= B  # Aoki health
        A -= D  # Takeshi health
        print(C, A)

    if C > A:
        print('No')
    else:
        print('Yes')


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

    while A>0 and B<0 :
        C -= B  # Aoki health
        A -= D  # Takeshi health

    if C > A:
        print('No')
    else:
        print('Yes')


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

    while True:
        Aoki_health = C-B
        Take_health = A-D
        if Take_health < 1 <= Aoki_health:
            print('No')
            break
        else:
            print('Yes')
            break


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

    while True:
        Aoki_health = C-B
        Take_health = A-D
        if Take_health < 1 < Aoki_health:
            print('No')
            break
        else:
            print('Yes')
            break


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

t = math.ceil(C / B)
a = math.ceil(A / D)
print(t, a)
print('Yes' if t <= a else 'No')

Submission status: Wrong Answer

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

t = math.ceil(C // B)
a = math.ceil(A // D)

print('Yes' if t <= a else 'No')

Submission status: Wrong Answer

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

t = math.ceil(C // A)
a = math.ceil(B // D)

print('No' if t >= a else 'Yes')

Submission status: Wrong Answer

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

t = math.ceil(C // A)
a = math.ceil(B // D)

print('Yes' if t <= a else 'No')

Submission status: Wrong Answer

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

t = C // A + 1
a = B // D + 1

print('Yes' if t <= a else '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())

aoki_attack = (a+b-1)//d
takahashi_attack = (c+b-1)//b

if aoki_attack >= takahashi_attack:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
 
# X=ceil(A/D)とY=ceil(C/B)を比較し、X<=Yなら勝ち、X>Yなら負け
X = (A+D-1) // D
Y = (C+B-1) // B
if X <= Y: print('Yes')
else: print('No')

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
 
# X=ceil(C/B)とY=ceil(A/D)を比較し、X>=Yなら勝ち、X<Yなら負け
X = (C+B-1) // B
Y = (A+D-1) // D
if X >= Y: print('Yes')
else: print('No')

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
 
# X=ceil(C/B)とY=ceil(A/D)を比較し、X>=Yなら勝ち、X<Yなら負け
X = (C+B-1) // B
Y = (A+D-1) // A
if X >= Y: print('Yes')
else: print('No')

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split())
 
# ceil(C/B)とceil(A/D)を比較する
if  (A+D-1) // A >= (C+B-1) // B: print('Yes')
else: print('No')

Submission status: Wrong Answer

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

# ceil(C/B)とceil(A/D)を比較する
if (C+B-1) // B >= (A+D-1) // A: print('Yes')
else: print('No')

Submission status: Wrong Answer

Solution code:
a = input()
a = a.split()
b = int(a[1])
c = int(a[2])
d = int(a[3])
a = int(a[0])
e = a / d
f = c / b
if int(e) < e:
    e = e + 1
if int(f) < f:
    f = f + 1
if e >= f:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a = input()
a = a.split()
b = int(a[1])
c = int(a[2])
d = int(a[3])
a = int(a[0])
e = a / d
f = b / c
if int(e) < e:
    e = e + 1
if int(f) < f:
    f = f + 1
if e > f:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a = input()
a = a.split()
b = int(a[1])
c = int(a[2])
d = int(a[3])
a = int(a[0])
e = a / d
f = b / c
if int(e) < e:
    e = e + 1
if int(f) < f:
    f = f + 1
if e >= f:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split(' '))
takahashi_dead_count = int(A / D) + 1
aoki_dead_count = int(C / B) + 1

if takahashi_dead_count >= aoki_dead_count:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
A, B, C, D = map(int, input().split(' '))
takahashi_dead_count = (A / D) + 1
aoki_dead_count = (C / B) + 1

if takahashi_dead_count >= aoki_dead_count:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

taka = 0
aoki = 0

while True:
    if A < 0:break
    A -= B
    taka += 1

while True:
    if C < 0:break
    C -= D
    aoki += 1

if taka > aoki:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

taka = 0
aoki = 0

while True:
    if B < 0:break
    B -= A
    taka += 1

while True:
    if D < 0:break
    D -= C
    aoki += 1

if taka >= aoki:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

taka = 0
aoki = 0

while True:
    if B < 0:break
    B -= A
    taka += 1

while True:
    if D < 0:break
    D -= C
    aoki += 1

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if taka> ao:
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

flag=0

for i in range(100):
    if c-b*i<=0:
        print("Yes")
        flag+=1
        break
    
    elif flag==0:
        if a-d*i<=0:
            print("No")
            break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S=list(map(int,input().split()))
while True:
  S[3]=S[3]-S[1]
  S[0]=S[0]-S[2]
  if S[3]<=0:
    print("No")
    break
  if S[1]<=0:
    print("Yes")
    break

Submission status: Wrong Answer

Solution code:
S=list(map(int,input().split()))
while True:
  S[3]=S[3]-S[1]
  S[0]=S[0]-S[2]
  if S[3]<=0:
    print("No")
    break
  if S[1]<=0:
    print("No")
    break

Submission status: Wrong Answer

Solution code:
print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b,c,d=map(int,input().split())
max=max(a,c)
for i in range(max):
 if c<b:print("Yes")
 elif c%b<=0 and c//b>=a//d:print("Yes")
 else:print("No")

Submission status: Wrong Answer

Solution code:
a , b , c , d = map(int,input().split())
for i in range(1,101):
    if b >= d:
        print("Yes")
    elif d >= a:
        print("No")
    if b == 0 or d == 0:
        i = 100

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c,d = map(int,input().split())
fx = 0
fy = 0
if c%b == 0:
  x = c//b
  fx = 1
else:
  x = c//b+1
if d%a == 0:
  y = a//d
  fy = 1
else:
  y = a//d+1
if x == y:
  print("Yes")
elif x < y:
  print("Yes")
else:
  if fy == 1:
    print("No")
  else:
    print("Yes")

Submission status: Wrong Answer

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