TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k, x = map(int, input().split())

print('Yes') if k*500==x else print('No')

k, x = map(int, input().split())

if k*500==x:
  print('Yes')
else:
  print('No')

k, x = map(int, input().split())

print('Yes') if k*500>=x else print('No')

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k, x = int(input()), int(input())
print ("yes") if k*500 >= x else ("no")

K = int(input("Enter K: "))
X = int(input("Enter X: "))
if K*500 >= X:
  print("yes")
else:
  print("no")

k, x = map(int, raw_input().split())
if k*500 >= x:
  print("yes")
else: 
  print("no")

k, x = input(), input()
print ("yes") if k*500 >= x else ("no")

k, x = input().split()
if int(k)*500 >= int(x):
	print("Yes")
else:
	print("No")

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k, x = (int(x) for x in input().split())

if k*500 >= x :
	print(Yes)
else:
	Print(No)

k, x = (int(x) for x in input().split())

if k*500 >= x :
	print('Yes')	
else:
	print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
ip = input().split()
n = ip[0]
k = ip[1]
if n * 500 >= k:
    print("Yes")
else:
    print("No")

ip = input().split()
n = int(ip[0])
k = int(ip[1])
if n * 500 >= k:
    print("Yes")
else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K, X = map(int,input().split())
if 500*K >= X:
    print('yes')
else:
    print('no')


K, X = map(int,input().split())
if 500*K >= X:
    print('Yes')
else:
    print('No')


Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k, x = map(int, input().split())

n = k * 500

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

k, x = map(int, input().split())

n = k * 500

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

k, x = map(int, input().split())

n = k * 500

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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K,X = map(int,input().split())
if K*500 >= X:
  print("YES")
else:
  print("NO")

K,X = map(int,input().split())
if K*500 >= X:
  print("Yes")
else:
  print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K,X=map(int,input().split())
print("YES" if K*500 >= X else "NO")

K,X=map(int,input().split())
print("Yes" if K*500 >= X else "No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
n, k = map(int,input().spllit())

if n * 500 >= k :
    print("Yes")
else:
    print("No")

n, k = map(int,input().split())

if n * 500 >= k :
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a,b = input().split()
if 500 * int(a) <= int(b):
    print('Yes')
else:
    print('No')

a,b = input().split()
if 500 * int(a) >= int(b):
    print('Yes')
else:
    print('No')

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K,X = [map(int,input().split())]
if K*500>=X:
    print("Yes")
else:
    print("No")

K,X = [map(int,input().split())]
if K*500>=X:
  print("Yes")
else:
  print("No")

K,X = map(int,input().split())
if K*500>=X:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k, yen = [int(x) for x in input("Enter two value: ").split()]
print('Yes') if k*500>=yen else print('No)

k, yen = input().split()
print('Yes') if k*500>=yen else print('No)

k, yen = input().split()
print('Yes' if k*500>=yen else 'No')

k = input()
yen = input()
if k*500>yen:
  print('Yes')
else:
  print('No)

k, yen = input().split()
print('Yes' if k*500>yen else 'No')

[k, yen] = [int(x) for x in input().split()]
print('Yes') if k*500>=yen else print('No')

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k,x = input().split()
if k * 500 >= x:
    print("Yes")
else:
    print("No")

k,x = map(int, input().split())
if k * 500 >= x:
    print("Yes")
else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
from functools import lru_cache
import sys

sys.setrecursionlimit(10**8)

N = int(input())
S = input()

@lru_cache(maxsize=None)
def dp(s):
    result = s.count("ABC")
    return result
print(dp(S))



from functools import lru_cache
import sys

sys.setrecursionlimit(10**8)

N = int(input())
S = input()

@lru_cache(maxsize=None)
def dp(s):
    print(s.count("ABC"))
print(dp(S))



from functools import lru_cache
import sys

sys.setrecursionlimit(10**8)

K, X = map(int, input().split())

@lru_cache(maxsize=None)
def dp(k,x):
    if k*2 <= x:
        result = 'No'
    else:
        result = 'Yes'
    return result
print(dp(K,X))



from functools import lru_cache
import sys

sys.setrecursionlimit(10**8)

K, X = map(int, input().split())

@lru_cache(maxsize=None)
def dp(k,x):
    if k*500 < x:
        result = 'No'
    else:
        result = 'Yes'
    return result
print(dp(K,X))



Verdicts: Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K, X = map(int,input().split)
if 500*K >= X:
  print("Yes")
else:
  print("No")

K, X = map(int, input().split())
if 500*K >= X:
  print("Yes")
else:
  print("No")


Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):

K, X = map(int, input().split())
if 500*K >= X:
    print('yes')
else:
    print('no')


K, X = map(int, input().split())
if 500*K >= X:
    print('Yes')
else:
    print('No')

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a, b = input().split()
 
if 500*a >= b:
  print("Yes")
else:
  print("No")

a, b = input().split()

if 500*a >= b:
  print("Yes")
else:
  primt("No")

a = list(map(int,input().split()))
 
if 500*a[0] >= a[1]:
  print("Yes")
else:
  print("No")

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k, x = map(int, input().split())
if 500 * k >= x:
    print('yes')
else:
    print('No')

k, x = map(int, input().split())
if 500 * k >= x:
    print('Yes')
else:
    print('No')

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K, X = map(int, input().split())
if 500 * K >= X:
    print('Yse')
else:
    print('No')

K, X = map(int, input().split())
if 500 * K >= X:
    print('Yes')
else:
    print('No')

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a=int(input())
b=input()

count=0
for i in range(a-2):
  if b[i]=='A'and b[i+1]=='B' and b[i+2]=='C':
    count+=1
print(count)


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

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
from itertools import permutations

N = int(input())
P = tuple(map(int, input().split()))
Q = tuple(map(int, input().split()))
num_P = 0
num_Q = 0

li = list(permutations(range(1, N + 1)))

#print(P, Q, li)
print(abs(li.index(P) - li.index(Q)))
#print(li)
#print(li.index(P))
#print(li.index(Q))

K, X = map(int, input().split())

if 500 * K >= X:
  print('Yes')
else:
  print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K=int(input())
X=int(input())
if K*500>=X:
  print("Yes")
else : 
  print("No")
 

X,K=int(input())
if K*500>=X:
  print("Yes")
else : 
  print("No")
 

K, X=map(int,input().split())
if K*500>=X:
  print("Yes")
else : 
  print("No")
 

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K , X = map(int,input().split())

if K * 500 >= X:
  print("Yes")
else print("No")

K , X = map(int,input().split())

if K * 500 >= X:
  print("Yes")
else: print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k, x = ISI()
if 500*k<x:print("No")
else:print("Yes")

import sys
def ISI(): return map(int, sys.stdin.readline().rstrip().split())
k, x = ISI()
if 500*k<x:print("No")
else:print("Yes")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k, x = map(int, input().split())

if 500*i >= x:
    print("Yes")
else:
    print('No')


k, x = map(int, input().split())

if 500*k >= x:
    print("Yes")
else:
    print('No')


Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k, x = map(int, input().split())

if x >= k * 500:
  print('Yes')
else:
  print('No')

k, x = map(int, input().split())
 
if x > (5 * 500):
  print(x > (k * 500))
else:
  print('No')

k, x = map(int, input().split())
 
if x <= (k * 500):
  print('Yes')
else:
  print('No')

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K, X = [int(K), int(X) for K, X in input().split()]

if K*500 >= X:
  print("Yes")
else:
  print("No")

K, X = [int(x) for x in input().split()]

if K*500 >= X:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k, x = input().split()
if (k * 500) > x:
  print ("yes")
else:
  print("no")

k = input()
x = input()
if (k * 500) > x:
  print ("yes")
else:
  print("no")

k,x = [int(x) for x in input().split()]

k = k * 500 

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

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
4 2000

N, K = map(int, input().split())

t = N*500
if t >= K:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
import itertools

N=int(input())
P=list(map(int, input().split()))
Q=list(map(int, input().split()))
A=list(range(1,N+1))

Pattern=[]
for i in itertools.permutations(A):
    Pattern.append(i)

c1=Pattern.index(P) + 1
c2=Pattern.index(Q) + 1

print(abs(c1-c2))

import itertools

N=int(input())
P=list(map(int, input().split()))
Q=list(map(int, input().split()))

Pattern=[]
for i in range(1,N+1):
    Pattern.append(i)

c1=Pattern.index(P) + 1
c2=Pattern.index(Q) + 1

print(abs(c1-c2))

K, X=map(int, input().split())

if 500*K >= X:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K, X = map(int, input().split())

if X >= 500 * K:
    print("Yes")
else:
    print("No")


K, X = map(int, input().split())

if X <= 500 * K:
    print("Yes")
else:
    print("No")


Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K,X = input().split()
res=int(K)*500
if(res=>int(X)):
    print("Yes")
else:
    print("No")

K,X = input().split()
res=int(K)*500
if(res>=int(X)):
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K, X = map(int, input().split())
if K*500 => X:
  print("Yes")
else:
  print("No")

K, X = map(int, input().split())
if K*500 >= X:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
class Solution(object):
    def twoSum(self, k, x) -> str:
        """
        :type k: int
        :type x: int
        """
        if not (k <= 100 and k>= 1):
          return ""
        
        if not (x <= 100000 and x>= 1):
          return ""
        
        totalyen = k * 500;
        
        if totalyen >= 1000:
          return "Yes"
        else:
          return "No"

    def twoSum(self, k, x) -> str:        
        if k * 500 >= x:
          return "Yes"
        else:
          return "No"


class Solution(object):
    def twoSum(self, k, x) -> str:
        """
        :type k: int
        :type x: int
        """
        if not (k <= 100 and k>= 1):
          return ""
        
        if not (x <= 100000 and x>= 1):
          return ""
        
        totalyen = k * 500;
        
        if totalyen >= x:
          return "Yes"
        else:
          return "No"


def solve(string):
    k, x = map(int, string.split())
    return "Yes" if k * 500 >= x else "No"

K, X = [int(_) for _ in input().split()]
if K*500 >= X:
    print("Yes")
else:
    print("No")


Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K, X = input().split()
K = int(K)
X = int(X)
print(("Yes" if K * 500 >= X else "No")


K, X = input().split()
K = int(K)
X = int(X)
print("YES" if K * 500 >= X else "NO")

K, X = input().split()
K = int(K)
X = int(X)
print("YES" if K * 500 >= X else "NO")

K, X = input().split()
K = int(K)
X = int(X)
print("Yes" if K * 500 >= X else "No")

Verdicts: Runtime Error

Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
A = int(input())
B = int(input())

if 500* A >= B:
  print("Yes")
else:
  print("No")

A, B = map(int, input().split())
if 500*A >= B:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K,N=map(int,input().split())
if 500*K>=X:
    print('Yes')
else:
    print('No')

K,N=map(int,input().split())
if 500*K>=N:
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K, X = map(int, input().split())

Z = 500 * K
if K >= X :
    print("Yes")
    
else:
    print("No")

K, X = map(int, input().split())

Z = int(500 * K)
if Z >= X :
    print("Yes")

else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
n, x = int(input())
if x <= n*500:
    print("Yes")
else:
    print("No")

n, x = map(int, input().split())
if x <= n*500:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
import math 
n, m = map(int, input().split())
a = list(map(int, input().split()))
z = a[0]
for i in a:
    z = math.gcd(z, i)
for i in range(n):
    a[i]//=z
lcm = 1
a = set(a)
for i in a:
    lcm*=i
print(math.ceil((m//lcm)/2))

def case():
    k, x = map(int, input().split())
    if 500*k < x:
        print("No")
    else:
        print("Yes")
case()

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K,X = map(int,input().split())

Knew = 500*K

if Knew >=X:
    print("yes")
else:
    print("No")

K,X = map(int,input().split())

Knew = 500*K

if Knew >=X:
    print("Yes")
else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
n = int(input())
s = input()

ans = 0

for i in range(n-2):
  if s[i:i+3] == "ABC":
    ans +=1

print(ans)

k, x = map(int, input().split())

total = k * 500
ans = "No"

if total >= x:
  ans = "Yes"

print(ans)

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K, X = map(int, input().split)
a = 500*K

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

K, X = map(int, input().split())
a = 500*K

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


Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k,x = map(int,input().split)
print("Yes" if 500*k>=x else "No")

k,x = map(int,input().split())
print("Yes" if 500*k>=x else "No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K,X=map(int,input(),split())
if 500*K>X:
    print('Yes')
else:
    print('No')

K,X=map(int.input().split())
if 500*K>=X:
    print('Yes')
else:
    print('No')


K,X=map(int,input().split())
if 500*K>=X:
    print('Yes')
else:
    print('No')


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K, X = int(input())
wealth = 500 * K
if K >= X:
  print('Yes")
else:
  print('No')

K, X = map(int, input().split())
wealth = 500 * K
if K >= X:
  print('Yes")
else:
  print('No')

K, X = map(int, input().split())
wealth = 500 * K
if wealth >= X:
    print('Yes')
else:
    print('No')


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
x, y = map(int, input().split())
if 500 + x >= y:
    print("Yes")
else:
    print("No")


x, y = map(int, input().split())
if 500 * x >= y:
    print("Yes")
else:
    print("No")


Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K,X = map(int,input().split())

if 500*K>=X:
    print("yes")
else:
    print("no")

K,X = map(int,input().split())

if 500*K>=X:
    print("Yes")
else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
# coding: utf-8

num_of_coins, border = (int(n) for n in input().split)
if 500 * num_of_coins >= border:
  print("Yes")
else:
  print("No")

# coding: utf-8

num_of_coins, border = (int(n) for n in input().split())
if 500 * num_of_coins >= border:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K, X = map(int,input().split())

if 500*K >= X:
  print('Yes')
  else:
    print('No')

K X = map(int,input().split())
if 500*K >= X:
    print('Yes')
else:
    print('No')

K X = map(int,input().split())
if 500*K >= X:
    print("Yes")
else:
    print("No")

K, X = map(int,input().split())

if 500*K >= X:
  print('Yes')
else:
  print('No')


Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k,y=input().split()
u=k*500
if u>y:
  print("Yes")
else:
  print("No")

k,y=input().split()
coin=k*500
if coin>=y:
  print("Yes")
else:
  print("No")

k,y=input().split()
coin=int(k)*500
if coin>=int(y):
  print("Yes")
else:
  print("No")

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k,x = [int(i) for i in input().split()]
if k*500 >= x:
    print("yes")
else:
    print("no")

k,x = [int(i) for i in input().split()]
if k*500 >= x:
    print("Yes")
else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k,x=map(int,input().split())
print("Yes" if 500*k>=x "No" else)

k,x=map(int,input().split())
print("Yes" if 500*k>=x else "No" )


Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K = int(input())
X = int(input())
K = K *500
if K >= X:
  print("Yes")
else:
  print("No")


K = int(input())
X = int(input())
K = K *2
if K >= X:
  print("Yes")
if K < X:
  print("No")


K = int(input().split())
X = int(input().split())
K = K *2
if K >= X:
  print("Yes")
else:
  print("No")


K = 500
num = int(input())
coin = num * K
print (coin)
X = int(input())
if coin >= X:
  print("Yes")
if coin < X:
  print("No")

K = int(input().split())
X = int(input().split())
K = K *500
if K >= X:
  print("Yes")
else:
  print("No")


K = int(input())
X = int(input())
K = K *2
if K >= X:
  print("Yes")
else:
  print("No")


k,x = [int(x) for x in input().split()]

k = k * 500 

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K, X = int(input())
if 500*K >= X:
  print('Yes')
else:
  print('No')

K, X = list(map(int,input().split()))
if 500*K >= X:
  print('Yes')
else:
  print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
import itertools
 
N=int(input())
P=list(map(int,input().split()))
Q=list(map(int,input().split()))
nlis=[i for i in range(1,N+1)]
 
j=list(itertools.permutations(nlis))
cp=j.index(P)+1
cq=j.index(Q)+1
print(abs(cp-cq))

K,X=map(int,input().split())
if K*500>=X:
  print('Yes')
else:
  print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
sp_list = list(map(int, input.split()))

if 500 * sp_list[0] >= sp_list[1]:
  print("Yes")
else:
  print("No")

sp_list = list(map(int, input().split()))

if 500 * sp_list[0] >= sp_list[1]:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
import itertools
n = int(input())
p = tuple(map(int, input().split()))
q = tuple(map(int, input().split()))
y = [num for num in range(1, n+1)]
permutation_n = list(itertools.permutations(y, 3))

a=b=0
count=1
for permu in permutation_n:
  if permu == p:
    a = count
  if permu == q:
    b = count
  if a != 0 and b != 0:
    break
  count+=1
print(abs(a-b))

k,x = map(int, input().split())
if 500*k >= x:
  print('Yes')
  exit()
print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K,X=map(int,input().split)
if 500*K<X:
  print("No")
else:
  print("Yes")

K,X=map(int,input().split())
if 500*K>=X:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k, a = map(int(), input().split())
 
if k * 500 >= a:
  print('Yes')
else:
  print('No')

k, a = map(int(), input())

if k * 500 >= a:
  print('Yes')
else:
  print('No')

k, a = map(int, input().split())
 
if k * 500 >= a:
  print('Yes')
else:
  print('No')

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
x = input()
k = input()

X = int(x)
K = int(k)

if X <= K*500:
    print("Yes")
else:
    print("No")

x = input()
k = input()

if x <= k*500:
    print("Yes")
else:
    print("No")

x = input()
k = input()

if int(x) <= int(k)*500:
    print("Yes")
else:
    print("No")

x = input()
k = input()

if x <= k*500:
    print("Yes")
else:
    print("No")

k, x = input().split()

if int(x) <= int(k)*500:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):

#coding:utf-8

from functools import reduce
import fractions

n, x = map(int, input().split(' '))
nums = list(map(int, input().split(' ')))

def devide_cnt(num):
    cnt = 0
    while num % 2 == 0:
        cnt += 1
        num //= 2
    return cnt, num

def lcm_base(x, y):
    return (x * y) // fractions.gcd(x, y)

def lcm(*numbers):
    return reduce(lcm_base, numbers, 1)

def lcm_list(numbers):
    return reduce(lcm_base, numbers, 1)


def main():
    odd_nums = []
    cnt = -1
    for num in nums:
        tmp, num = devide_cnt(num)
        if cnt == -1:
            cnt = tmp
        if cnt != tmp:
            print(0)
            return
        odd_nums.append(num)
        
    minv = 2 ** cnt * lcm_list(odd_nums)

    
    l = 1
    r = 10000000001
    tmp = -1
    while l < r + 1:
        m = l + (r - l) // 2
        p = m * minv + 0.5 * minv
        if p > x:
            r = m
        else:
            l = m
        
        if tmp == p:
            break
        tmp = p
        
            
    print(l+1)
    
    
    

main()

#coding:utf-8

k, x = map(int, input().split(' '))
if k * 500 >= x:
  print('Yes')
else:
  print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
n=int(input())
print(0--n//500)

print('YNeos'['1'in input()[1:]::2])

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k, x = map(int, input().split())
print('Yes' if 500*k>=x else'No)

k, x = map(int, input().split())
print('Yes' if 500*k>=x else'No')


Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K,X = map(int,input().split())
print('Yes' if K * 500 <= X else 'No')

K, X = map(int, input().split())
if K * 500 >= X:
    print('Yes')
else:
    print('No')


Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K,X=input().split()
if 500 * K >= X:
  return 'Yes'
else:
  return 'No'

K,X=input().split()
if 500 * K >= X:
    print('Yes')
else:
    print('No')

K,X=input().split()
if 500 * K >= X:
  print('Yes')
else:
  print('No')

K,X=(int(x) for x in input().split())
if 500 * K >= X:
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K,X=map(int,input().split())
if 500*K>=X:
  print(Yes)
else:
  print(No)

K,X=map(int,input().split())
if 500*K>=X:
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
n = 500
x, y = map(int, raw_input().split()) 
if x*n >= y: 
  print("Yes")
else: 
  print("No")

n = 500
x, y = map(int, input().split())
if x*n >= y: 
    print("Yes")
else: 
    print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
N = int(input())
C = list(map(int, input().split()))

C.sort()

ans = 0

mod = 10 ** 9 + 7

pattern = (2 ** (N - 2)) % mod

if N != 1:
    for i in range(N):
        c = C[i]
        ans += c * (N + 1 - i) * pattern
        ans %= mod
    ans *= 2 ** N
else:
    ans = C[0] * 2

ans %= mod

print(ans)

K, X = map(int, input().split())

if K * 500 >= X:
  print("Yes")
else:
  print("No")


Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):


def read_int_n(): return list(map(int, input().split()))

K, X = read_int_n()

print(f"Nubmer coins K = {K}; Total X = {X}")
if K*500 >= X:
    print("Yes")
else:
    print("No")

def read_int(): return int(input())
N = read_int()
def read_str(): return input().strip()
S = list(read_str())

__DEBUG__ = False

def solution():
    count = 0    
    for i in range(N-2):
        if __DEBUG__: print(f"checking {S[i]} at index: {i}")
        if S[i] == 'A':
            if S[i+1] == 'B' and S[i+2] == 'C':
                count += 1
                continue
    return count

    
if __name__ == '__main__':
    print(solution())
    



k, x = map(int, input().split())
print("Yes" if x <= 500*k else "No")


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k = int(input())
x = int(input())
if k * 500 >= x:
    print("Yes")
else:
    print("No")

k, x = (int(i) for i in input().split())
if k * 500 >= x:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
tmp = input()

N = int(tmp[0])
X = int(tmp[1])

if X <= 500 * N:
  print("Yes")
else:
  print("No")

tmp = input().split(" ")
 
N = int(tmp[0])
X = int(tmp[1])
 
if X <= 500 * N:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
import math 
def lcm(x,y):
    return x*y//math.gcd(x,y)
n,m = map(int,input().split())
a = list(map(int,input().split()))
gcds = a[0]
for i in a:
    gcds = lcm(gcds,i)
a = [i//2 for i in a]
a_0 = a[0]
for i in a:
    a_0 = lcm(a_0,i)
#print(a_0,gcds)
if a_0 < m:
    ans = math.ceil((m - a_0) // gcds)
elif a_0 == m:
    ans = 1
else:
    ans = 0
print(ans)

k,x = map(int,input().split())
if k*500 >= x:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k,x = map(int,input().split())
print("Yes" if k * 500 <= x else "No")

k,x = map(int,input().split())
print("Yes" if k * 500 >= x else "No")


Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
import fractions
from functools import reduce

def gcd(*numbers):
    return reduce(fractions.gcd, numbers)

def lcm_base(x, y):
    return (x * y) // fractions.gcd(x, y)

def lcm(*numbers):
    return reduce(lcm_base, numbers, 1)
    
def factorization(n):
    arr = []
    temp = n
    for i in range(2, int(-(-n**0.5//1))+1):
        if temp%i==0:
            cnt=0
            while temp%i==0:
                cnt+=1
                temp //= i
            arr.append([i, cnt])

    if temp!=1:
        arr.append([temp, 1])

    if arr==[]:
        arr.append([n, 1])

    return arr


N, M = map(int,input().split())
A = list(map(int,input().split()))

#if gcd(*A) % 2 != 0:
    #print(0)
    #exit(0)

#sisu_2 = factorization(A[0])[0][1] 
sisu_2 = min([factorization(A[i])[0][1] for i in range(min(1000,N))])

#lcm_a = lcm(*A)
#lcm_a_half = lcm_a // 2
lcm_a = lcm(*A) // 2

if (lcm_a % (2**sisu_2) == 0) or lcm_a > M:
#factorization(lcm_a)[0][1] != sisu_2 or lcm_a_half > M:
#if lcm_a > M:
    print(0)
    exit(0)
else:
    print(int((M-lcm_a) // (lcm_a*2) + 1))

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

if A * 500 >= B:
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k, x = map(int, input().split())
print("Yes" if 500*k >= x, else "No")

k, x = map(int, input().split())
print("Yes") if 500*k >= x, else print("No")

k, x = map(int, input().split())
print("Yes" if 500*k >= x, else "No")

k, x = map(int, input().split())
print("Yes") if 500*k >= x else print("No")

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
coin = int(input())
max = int(input())
total = coin*500
if total >= max:
    print("Yes")
else:
    print("No")

coin = int(input())
Max = int(input())
total = coin*500
if total >= Max:
    print("Yes")
else:
    print("No")
 

inp = input()
arr = [int(i) for i in inp.split() if i.isdigit()]
total = arr[0]*500
if total >= arr[1]:
    print("Yes")
else:
    print("No")


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k, x = map(int, input().split())
if 500*k >= x:
  print("Yes")
  else:
    print("No")

k, x = map(int, input().split())
if 500*k >= x:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
N = int(input())
S = input()
count = 0

for i in range(N-2):
    if S[i]=='A' and S[i+1]=='B' and S[i+2]=='C':
        count += 1

print(count)

N = int(input())
S = input()
count = 0

for i in range(N-2):
    if S[i]=="A" and S[i+1]=="B" and S[i+2]=="C":
        count += 1

print(count)

N = int(input())
S = list(input())
count = 0

for i in range(N-2):
    if S[i]==("A") and S[i+1]==("B") and S[i+2]==("C"):
        count += 1

print(count)

K,X = map(int, input().split())

if K*500>=X:
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K=int(input())
X=int(input())

if 500*K < X:
	print("No")
else:
  print("Yes")

if 500*K < X 
	print("Yes")
else print("No")

K X = map(int,input().split())
if 500*K<X:
  print("No")
else:
  print("Yes")

if 500*K < X :
	print("No")
else :
  print("Yes")

if 500*K < X :
	print("Yes")
else :
  print("No")

if 500*K < X:
	print("No")
else:
  print("Yes")

K,X = map(int,input().split())
if 500*K<X:
  print("No")
else:
  print("Yes")

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
S = input() 
X = S.split(" ")[0]
Y = S.split(" ")[1]
if X*500 >= Y:
  print("Yes")
else:
  print("No")

S = input() 
X = int(S.split(" ")[0])
Y = int(S.split(" ")[1])
if X*500 >= Y:
  print("Yes")
else:
  print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k,x = map(int,input().split())
print("Yes" if k*500 >= x "No")

k,x = map(int,input().split())
print("Yes" if k*500 >= x else "No")


Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k,x=map(int,input().split())
if k >= x:
  print("Yes")
else:
  print("No")

k,x=map(int,input().split())
if k * 500 >= x:
  print("Yes")
else:
  print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
N = int(input()) 
P = tuple(map(int, input().split()))
Q = tuple(map(int, input().split()))
A = list(range(1,N+1))
Alist=[]
import itertools
for v in itertools.permutations(A):
        Alist.append(v)
a_num = Alist.index(P)+1
b_num = Alist.index(Q)+1
print(abs(b_num - a_num))

K,X = list(map(int, input().split()))
A = 500*K 
if A >= X:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
N, X = map(int, input().split())

if X >= N * 500:
    print("Yes")
else:
    print("No")


N, X = map(int, input().split())

if X > N * 500:
  return Yes
return No

N, X = map(int, input().split())

if X <= N * 500:
    print("Yes")
else:
    print("No")


Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a, b = map(int,input().split())

if (a*500 >= b):
    print("yes")
else:
    print("no")

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

if (a*500 >= b):
    print("Yes")
else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k,x=map(int,input().split())
if 500*k=>x:
  print("Yes")
else:
  print("No")

k,x=map(int,input().split())
if 500*k>=x:
  print("Yes")
else:
  print("No")


Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k, x = map(int,input().split())

if k*500 < X:
    print("No")
else:
    print("Yes")


k, x = map(int,input().split())

if k*500 < x:
    print("No")
else:
    print("Yes")


Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
a=input().split()
b=a[0]
c=a[1]
if 500*b>=c:
  print("Yes")
else:
  print("No")

a=input().split()
b=a[0]
c=a[1]
if 500*b >= c :
  print("Yes")
else:
  print("No")

a=input().split()
b=a[0]
c=a[1]
if 500*b >= c :
  print("Yes")
else:
  print("No")

a=input().split()
b=int(a[0])
c=int(a[1])
if 500*b >= c:
  print("Yes")
else:
  print("No")

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K,X =[int(i)for i in input().split()]
if 500K >=X:
  print("Yes")
else :
  print("No")


K,X =[int(i)for i in input().split()]
if 500*K >=X:
  print("Yes")
else :
  print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
K, X = int(input().split())
if 500 * K >= X:
    print("Yes")
elif 500 * K < X:
    print("No")

K, X = input().split()
if 500 * K >= X:
    print("Yes")
elif 500 * K < X:
    print("No")

K, X = (int(x) for x in input().split())
if 500 * K >= X:
    print("Yes")
elif 500 * K < X:
    print("No")

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
N, X = map(int, input().split())
print("YES") if N*500 >= X else print("NO")

K, X = map(int, input().split())

if K * 500 >= X:
  print("Yes")
else:
  print("No")


Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
x=input('')
k=input('')
if k*500>=x:
    print ("Yes")
else:
    print ("No")

k,x=map(int,input().split())

if k*500>=x:
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
data = [int(k) for k in input().split()]

takashi = 500 * data[0]

if takashi >= data[1]:
	print('YES')
else:
	print('NO')

data = [int(k) for k in input().split()]
print(data)
takashi = 500 * data[0]

if takashi >= data[1]:
	print('Yes')
else:
	print('No')


data = [int(k) for k in input().split()]

takashi = 500 * data[0]

if takashi > data[1]:
	print('YES')
else:
	print('NO')

data = [int(k) for k in input().split()]

takashi = 500 * data[0]

if takashi >= data[1]:
	print('Yes')
else:
	print('No')


Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):

K = input()
X = input()

if (X <= 500*K):
    print("Yes")
else:
    print("No")

K = input()
X = input()

if (X <= 500*K):
    print("Yes")
else:
    print("No")

K, X = map(int,input().split())

if (X <= 500*K):
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
k,x=map(int,input().split());print("YNeos"[500*k>x::2])


k,x=map(int,input().split());print('YNeos'[500*k<x::2])

Verdicts: Wrong Answer

Accepted
Problem: Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.

Submission attempts (in order):
total = 500 * int(input())
line = int(input())
if total >= line:
    print('Yes')
else:
    print('No')

k, x = map(int, input().split())
if (500 * k) >= x:
    print('Yes')
else:
    print('No')


Verdicts: Runtime Error

Accepted