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):
import sys
import itertools
from functools import reduce
import math
#import fractions
import numpy as np


def calc_double(n):
    return n//2
def lcm_base(x, y):
    return (x * y) // math.gcd(x, y)

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

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



def resolve():
    input = sys.stdin.readline
    N,M=map(int,input().rstrip().split())
    A=list(map(int,input().rstrip().split()))
    AA=list(map(calc_double,A))
    
    aa= np.array(AA)
    a=int(np.lcm.reduce(aa))
    #a=lcm_list(AA)
    #a=a//2
    
    odd=M//a
    count=(odd+1)//2

    print(count)

    

from io import StringIO
import unittest

class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)
    def test_入力例_1(self):
        input = """2 50
6 10"""
        output = """2"""
        self.assertIO(input, output)
    def test_入力例_2(self):
        input = """3 100
14 22 40"""
        output = """0"""
        self.assertIO(input, output)
    def test_入力例_3(self):
        input = """5 1000000000
6 6 2 6 2"""
        output = """166666667"""
        self.assertIO(input, output)

if __name__ == "__main__":
    #unittest.main()
    resolve()

import sys

def resolve():
    input = sys.stdin.readline
    K,X=map(int,input().rstrip().split())
     
    if K*500>=X:
        print("Yes")
    else:
        print("No")

import sys
from io import StringIO
import unittest

class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)
    def test_入力例_1(self):
        input = """2 900"""
        output = """Yes"""
        self.assertIO(input, output)
    def test_入力例_2(self):
        input = """1 501"""
        output = """No"""
        self.assertIO(input, output)
    def test_入力例_3(self):
        input = """4 2000"""
        output = """Yes"""
        self.assertIO(input, output)

if __name__ == "__main__":
    #unittest.main()
    resolve()

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


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 >= 0  :
  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,k =map(int,(input().split()))
print(x,k)

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

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

if 500*x>=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):
A = list(map(int, input().split()))
 
K = A[0]
X = A[1]
 
money = K*500
 
if money <= X:
	print ("Yes")
else:
	print("No")

A = list(map(int, input().split()))
 
K = A[0]
X = A[1]
 
money = K*500
 
if X <= money:
	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())

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())
P = K*500
if (p>=X):
    print("Yes")
elif (p<=X):
    print("No")    

K,X = map(int,input().split())
P = K*500
if (P>=X):
    print("Yes")
elif (P<=X):
    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 sys


if 1 < len(sys.argv) < 4:
    K = sys.argv[1]
    X = sys.argv[2]


else:
    print("引数の指定に誤りがあります")


sum = 500 * int(K)


if sum >= int(X):
    print('Yes')
else:
    print('No')





inp_word = input()


K,X = inp_word.split()


sum = 500 * int(K)


if sum >= 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())
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(500*k>=x)

k, x = map(int, input().split())
print("Yes" if 500*k>=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):
if rest >= b:
   print('Yes')
else:
   print('No')

a,b = map(int, input().split())
rest = a*500

if rest >= b:
   ans = "Yes"
else:
   ans = "No"

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):
r, g, b = map(int, input().split())
ans=100*r+10*g+b
if ans*4==0:
    print("YES")
else:
    print("NO")


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

k, x = map(int, input().split())
cost=500*k
if x <=cost:
    print("Yes")
else:
    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):
k,x = int(input().split())

if 500 * k > 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 = 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())

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: 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 = int(input())
x = int(input())
 
if 500*k < x:
print("No")
else:
print("Yes")

k=int(input())
x=int(input())

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


k=int(input())
x=int(input())
 
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,N = map(int, input().split())

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

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

if 500*K >= N:
    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 = input()
x = input()

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

k = input()
x = input()

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

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

if 500 * int(k) >= int(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):
i(j)=map(int,input().split())
if i*500>=j:
    print("Yes")
else:
    print("No")

i,j=map(int,input().split())
if i*500>=j:
    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):
s,t = input().split()
a = [t,s]
print(''.join(a))


k,x = map(int,input().split())
a = 500*k
if a >= 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 = list(map(int, input().split()))

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: 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,M = map(int,input().split())
if 500*K >= X:
    print("Yes")
else:
    print("No")

K,M = map(int,input().split())
if 500*K >= M:
    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())

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

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

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

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

K = K*500
if(K >= X):
    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,N] = [int(x) for x in input().split()]
if K * 500 <= N:
  print('Yes')
else:
  print('No')


numOfK = input()
numOfN = input()

if numOfK * 500 > numOfN:
  print("Yes")
else:
  print("No")

[K, X] = [int(x) for x in input().split()]
if K * 500 >= 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):
K,X=map(int,input().split)

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

K,X=input().split
if K*2>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=input().split()
K=int(K)
X=int(X)
if K*500>X:
  print("yes")
else:
  print("no")

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

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

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

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

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=input().split()
if K*500>X:
  print("no")
else:
  print("yes")


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

Runtime Error

Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

Runtime Error

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):
x,y = map(str,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):
n = int(input())
s = input()
print(s.count("ABC"))

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, m = map(int, input().split())
a = list(map(int, input().split()))

a.sort(reverse=True)
ans = [i for i in range(max(a)//2, m + 1)]

for j in a:
    n_ans = []
    for i in ans:
        if ((i / j - 0.5) % 1 == 0):
            n_ans.append(i)
    ans = n_ans[:]

print(len(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):
a=int(input())
b=list(input())
c=0
for i in range(a):
  if b[i]=="A":
    if b[i+1]=="B":
    else:
      pass
      if b[i+2]=="C":
        c+=1
      else:
        pass
  else:
    pass
print(c)


a,b=map(int,input().split())
if b<=a*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):
N=int(input())
S=input()
print(S.count('ABC'))

N=input()
S=input()
print(S.count('ABC'))

a,b = map(int,input().split())
sum=int(a)*500
if sum>=b:
    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 = int(input())
X = int(input())

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("No")
else:
    print("Yes")

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

print(b+a)

a, b = map(int,input().split())
 
if 500*a >= 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):
n = int(input())
s = input()
print(s.count("ABC"))

a, b = input().split()
a = int(a)
b = int(b)
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=[int(i)for i in input().split()]
if x>500k:
  print('No')
else:
  print('Yes')

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=map(int.input(),split())
if x <= k :
  print('Yes')
else :
  print('No')

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

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

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


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


k,x = map(int,input().split())
if x <= 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

Runtime Error

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):
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 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("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=input().split()
if 500 * k >= x:
  print("Yes")
else:
  print("No")


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

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

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


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


Verdicts: Wrong Answer

Wrong Answer

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):
a,b=int(input().split())
if a*500>=b:
  print("Yes")
else:
  print("No")

N=input()
N=int(N)
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=count+1
print(count)

a,b=input().split()
a=int(a)
b=int(b)
if a*500>=b:
  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())
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):
N = int(input())
S = input()

#Y = len(S.replace('ABC',''))


print(S.count('ABC'))


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("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):
a,b=map(int,input().split( ))
sum=a*500
if b>=sum:
  print("Yes")
else:
  print("NO")

a,b=map(int,input().split( ))
sum=a*500
if b>sum:
  print("Yes")
else:
  print("NO")

import sys
a=sys.argv[1]
b=sys.argv[2]
sum=a*500
if b>sum:
  print("Yes")
else:
  print("NO")

import sys
a=int(sys.argv[1])
b=int(sys.argv[2])
sum=a*500
if b>sum:
  print("Yes")
else:
  print("NO")

a=input()
b=input()
sum=a*500
if b>sum:
  print("Yes")
else:
  print("NO")

import sys
a=int(sys.argv[1])
b=int(sys.argv[2])
sum=a*500
if b>sum:
	print("Yes")
else:
 	print("NO")

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

Verdicts: Wrong Answer

Wrong Answer

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):
a,b = map(int,input().split())
#L = list()map(int,input().split())
if a*500 >= b:
    print("YES")
else:
    print("NO")


a,b = map(int,input().split())
#L = list()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= int(raw_input()), int(raw_input())

k = k * 500 

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

k,x= int(input()), int(input())

k = k * 500 

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

k,x= int(raw_input()), int(raw_input())

k = k * 500 

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

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 * 500 

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

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):
input_line = input()
Line = input_line.split()
if 500*int(Line[0]) > int(Line[1]):
  print('yes')
else:
  print('no')

lenghts = int(input())
document = input()

count = 0
for start in range(lenghts -2):
  if document[start: start+3] == 'ABC':
    count += 1
  
print(count)

input_line = input()
Line = input_line.split()
if 500*int(Line[0]) > int(Line[1]):
  print('yes')
else:
  print('no')

input_line = input()
Line = input_line.split()
if 500*int(Line[0]) >= int(Line[1]):
  print('yes')
else:
  print('no')

input_line = input()
Line = input_line.split()

if 500*Line[0] > Line[1]:
  print('yes')
else:
  print('no')

input_line = input()
Line = input_line.split()
if 500*int(Line[0]) >= int(Line[1]):
  print('Yes')
else:
  print('No')

Verdicts: Wrong Answer

Runtime Error

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):
N = list(map(int,input().split(" ")))

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

N = list(map(int,input().split(" ")))
 
if N[0]*500 >= N[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):
K = int(input())
X = 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

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):
hoge = [0 for i in range(2)]

for i in range(2):
  hoge[i] = input()
  
N = int(hoge[0])
S = hoge[1]

print(S.count('ABC'))

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):
s = input()
x,a = [int(ele) for ele in s.split(' ')]

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

s = input()
x,a = [int(ele) for ele in s.split(' ')]

if x*500 >= a:
  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())
X=int(input())
if(a*500>=X):
    print('Yes')
else:
    print('No')

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

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


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

if(a*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):
A,B = map(int,input())
if A * 500 >= B:
  print("Yes")
else:
  print("No")
  

A,B = map(int,input())
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: 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 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 = map(int,input().split())
if 500*K >= X:
    print(Yes)
else:
    print(No)

import fractions
from functools import reduce
N,M= map(int,input().split())
A=[int(x) for x in input().split()]
def lcmpair(a,b):
    return (a*b)// fractions.gcd(a,b)
def lcm(List):
    return reduce(lcmpair,List,1)
lcmB = lcm(A) //2

crit = 0
pena = 0
num = A[0]
while num%2 == 0:
    crit +=1
    num = num//2
count = 0
for i in A:
    count = 0
    while i%2 == 0 :
        count +=1
        i = i//2
    if count != crit:
        pena = 1

if lcmB > M:
    print(0)
elif pena ==1:
    print(0)
else:
    print(((M//lcmB)+1)//2)   

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,m=map(input().split())
c=500*k
if(c<m):
  print("Yes")
else:
  print("No")

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


k,m=map(int,input().split())
c=500*k
if(c>=m):
  print("Yes")
else:
  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):
# -*- coding: utf-8 -*-

############### TESTCASE ###############
test = ""
test = \
"""
4 2001
"""
########################################
test = list(reversed(test.strip().splitlines()))
if test:
    def input2():
        return test.pop()
else:
    def input2():
        return input()
################# MAIN ################# 

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



# -*- coding: utf-8 -*-

############### TESTCASE ###############
test = ""
#test = \
"""
4 2001
"""
########################################
test = list(reversed(test.strip().splitlines()))
if test:
    def input2():
        return test.pop()
else:
    def input2():
        return input()
################# MAIN ################# 

k, x = map(int, input2().split())
if k * 500 - x >= 0:
    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):
import sys
row = sys.stdin.readline

def read_ints(row):
    return list(map(int, row().split()))
  
K,X = read_ints(row)
print("Yes" if K * X >=  2000 else "No")

import sys
row = sys.stdin.readline

def read_ints(row):
    return list(map(int, row().split()))
  
K,X = read_ints(row)
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):
coins, req = map(int,input().split())

print(500*coins >= req)

coins, req = map(int,input().split())

fax = 500*coins >= req

if fax: 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')

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()))
permutation = list(itertools.permutations([x for x in range(1, N + 1)]))

a = permutation.index(P) + 1
b = permutation.index(Q) + 1
print(abs(a - b))


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

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


k,x = mnap(int,input())

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):
tar, max = map(int, input().sprit())
if max <= tar * 500:
  print('Yes')
else:
  print('No')


tar, max = map(int, input(),sprit())
if max <= tar * 500:
  print('Yes')
else:
  print('No')

tar, max = map(int, input().split())
if max <= tar*500:
  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 = input().split()

def main(K,X):
  if (K * 500) >= X:
    print('Yes')
  else:
    print('No')
 
if __name__ == '__main__':
  main(K,X)


K,X = input().split()

def main(K,X):
  if K * 500 >= X:
    print('Yes')
  else:
    print('No')
 
if __name__ == 'main':
  main()


K,X = input().split()

def main(K,X):
  if K * 500 >= X:
    print('Yes')
  else:
    print('No')
 
if __name__ == '__main__':
  main(K,X)


K,X = input().split()

def main(K,X):
  if K * 500 >= X:
    print('Yes')
  else:
    print('No')
 
if __name__ == '__main__':
  main()


K,X = 2 900

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

K,X = input().split(' ')

def main(K,X):
  if K * 500 >= X:
    print('Yes')
  else:
    print('No')
 
if __name__ == '__main__':
  main(K,X)


K,X = input().split()

def main(K,X):
  if K * 500 >= X:
    print('Yes')
  else:
    print('No')
 
if __name__ == '__main__':
  main(K,X)


K,X = input().split()

def main(K,X):
  if K * 500 >= X:
    return 'Yes'
  else:
    return 'No'
 
if __name__ == 'main':
  main()

K,X = input().split()

def main(K,X):
  K = int(K)
  X = int(X)
  if K * 500 >= X:
    print('Yes')
  else:
    print('No')
 
if __name__ == '__main__':
  main(K,X)


Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

Runtime Error

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):
import fractions
from functools import reduce
N,M= [int(i) for i in input().split()]
n = [int(i) for i in input().split()]
#print(n)
n=sorted(set(n),reverse = True)
bs = n[0]
#print(n)
#c=len(n)


def lcm_b(a, b):
        #print("base",a,b)
        return (a * b) // fractions.gcd(a, b)

def lcm_o():
        global n
        return reduce(lcm_b, n)

def chk(v):
        global n
        for i in range(1,30):
                if v%2 == 1:break
                v = v//2
        t=2**(i-1)
        for j in range(len(n)):
                if n[j] % t == 0 and (n[j] / t) % 2 == 1:
                        n[j] = int(n[j]/t)
                else: return 0
        return i-1

if len(n) > 0:
        
        c = chk(n[-1])
        
        if  c != 0:
                v = lcm_o()*(2**(c-1))
                
                if v > M:
                        print(0) 
                else:
                        v = M//v
                        if v%2==1: v+=1
                        print(int(v//2))
        
        else: print(0)
elif N==1:
        v = int(bs*0.5)
        v = M//v
        if v%2==1: v+=1
        print(int(v//2))

N,M= [int(i) for i in input().split()]
print("Yes" if N*500 >= M 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):
import sys
# input=sys.stdin.readline

val = []
val = input()

arrays = val.split(' ')
a = int(arrays[0])*500

if a>=int(arrays[1]):
    print("Yes")
elif a<int(arrays[1]):
    print("No")

print(arrays, a)
sys.exit()


k = input()
x = input()

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

import sys
# input=sys.stdin.readline

val = input()

array = val.split(' ')
a = array[0]*500

if a<array[1]:
    print("Yes")
else:
    print("No")

print (array)
sys.exit()


k = input()
x = input()

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



import sys
# input=sys.stdin.readline

val = input()

array = val.split(' ')
a = array[0]*500

if a>=array[1]:
    print("Yes")
else:
    print("No")

sys.exit()


import sys
input=sys.stdin.readline

k = input()
x = input()
cal = k*500

if cal<=x:
    print("Yes")
else:
    print("No")

sys.exit()

import sys

k = input()
x = input()

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

k = input()
x = input()

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

k = input()
x = input()
cal = k*500

if cal<=x:
    print("Yes")
else:
    print("No")

import sys
# input=sys.stdin.readline

val = []
val = input()

arrays = val.split(' ')
a = int(arrays[0])*500

if a>=int(arrays[1]):
    print("Yes")
elif a<int(arrays[1]):
    print("No")

print(arrays, a)
sys.exit()


import sys
# input=sys.stdin.readline

val = []
val = input()

arrays = val.split(' ')
a = int(arrays[0])*500

if a>=int(arrays[1]):
    print("Yes")
elif a<int(arrays[1]):
    print("No")

sys.exit()


Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Runtime Error

Wrong Answer

Wrong Answer

Runtime Error

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())
print(['no','yes'][x <=(500*k)])

k, x = map(int, input().split())
print(['no','yes'][x <=(500*k)])

k, x = map(int, input().split())
print(['No','Yes'][x <=(500*k)])

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=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):
N=int(input())
s=input()
 
print(s.count('ABC'))

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

N=int(input())
S=input()
 
print(S.count('ABC'))

K,X=map(int, input().split())
if K*500>=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 K*500>=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 K*500>=X:
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

Runtime Error

Runtime Error

Wrong Answer

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 = map(int, input().split())

print('Yes' if X/500<=k else'NO')

K, X = map(int, input().split())
 
print('Yes' if X/500<=K 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):
a, b = map(int, input().split())

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: 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().split())
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: 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=list(map(int,input().split(' ')))
if X>=K*500:
  print('Yes')
else:
  print('No')

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

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

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):
import sys

n,m = map(int, input().split())
a = list(map(int, input().split()))

def gcd(a,b):
	if b == 0:
		return a
	return gcd(b,a%b)

GCD = 1
t = a[0]
cond = 0
while t%2 == 0:
	t //= 2
	cond += 1
	
mod = 2**cond
for i in range(len(a)):
	t,tt = divmod(a[i], mod)
	if t == 0 or tt != 0:
		print(0)
		sys.exit()
	if t % 2 == 1:
		print(0)
		sys.exit()

	GCD = GCD*a[i] // gcd(GCD,a[i])
	
A = (2*m) // GCD
if A%2 == 1:
	A+=1

print(A//2)

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 = list(map(int, input().split()))
if 500 * k < x:
    print(“No”)
else:
    print(“Yes”)

k,  x = list(map(int, input().split()))
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):
import sys
K, X = map(int, next(sys.stdin).split())
print('Yes' if K * 500 <= X else 'No')


import sys
K, X = map(int, next(sys.stdin).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):
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,M = (int(x) for x in input().split())
 
if N*5 >= M:
  print('Yes')
else:
  print('No')

N,M = (int(x) for x in input().split())

if N*5 > = M:
  print('Yes')
else:
  print('No')

N,M = (int(x) for x in input().split())
 
if N*500 >= M:
  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=list(map(int,input().split()))
k=a[0]
x=a[1]
if x<=500*k:
    print('yes')
else:
    print('no')

a=list(map(int,input().split()))
k=a[0]
x=a[1]
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 = 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):
number, max = input().split()

if (int(number) * 500 >= int(max)) {
	print('yes'); 
}
print('no');

num, max = input().split()

if (int(num) * 500 >= int(max)):
  print('yes')
else:	
  print('no')

num, max = list(map(int, input().split()))

print('Yes') if(num * 500 >= max) else 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=int(input())
P=list(map(int,input().split()))
Q=list(map(int,input().split()))

def mul(n):
  s=1
  for t in range(1,n+1):
    s=s*t
  return s

def f(x):
  result=0
  M=len(x)
  for i in range (x):
    k=0
    for j in range(i,M):
      if x[i]>x[j]:
        k=k+1
      result=result+k*mul(M-i-1)
  return result

print(f(P)-f(Q))


N,M=map(int,input().split())
A=list(map(int,input().split()))
B=[A[i]//2 for i in range(len(A))]

from fractions import gcd 
x=B[0]
for i in range(1,N):
  x=(x*B[i])//gcd(x,B[i])
lcm=x  
if all((lcm//b)%2==1 for b in B):
  Max=M//lcm
  if MaX%2==1:
    print((Max+1)//2)
  else:
    print((Max)//2)
else:
  print(0)


N,M=map(int,input().split())
A=list(map(int,input().split()))
B=[A[i]//2 for i in range(len(A))]

import math
ans=B[0]
for i in range(1,N):
  ans=math.gcd(ans,B[i])
mul=B[0]//ans
for j in range(1,N):
  mul=mul*(B[j]//ans)
lcm=ans*mul

if all((lcm//b)%2==1 for b in B):
  Max=M//lcm
  if MaX%2==1:
    print((Max+1)//2)
  else:
    print((Max)//2)
else:
  print(0)


def f(A,N,k,x):
  C=[A[(i+k)%N]^x for i in range(N)]
  return C

import numpy as np
N=int(input())
A=list(map(int,input().split()))
B=list(map(int,input().split()))

M=max(A+B)
Msup=2**(int(np.log2(M)+1))

for k in range(0,N):
  for x in range(0,Msup+1):
    if f(A,N,k,x)==B:
      print(k,"",x)


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

def mul(n):
  s=1
  for t in range(1,n+1):
    s=s*t
  return s

def f(x):
  result=0
  M=len(x)
  for i in range (x):
    k=0
    for j in range(i,M):
      if x[i]>x[j]:
        k=k+1
    result=result+k*mul(M-i-1)
  return result

print(abs(f(P)-f(Q)))


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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted