Problem:


Score : 100 points

Problem Statement

X and A are integers between 0 and 9 (inclusive).

If X is less than A, print 0; if X is not less than A, print 10.

Constraints

0 \leq X, A \leq 9

All values in input are integers.

Input

Input is given from Standard Input in the following format:

X A

Output

If X is less than A, print 0; if X is not less than A, print 10.

Sample Input 1

3 5

Sample Output 1

0

3 is less than 5, so we should print 0.

Sample Input 2

7 5

Sample Output 2

10

7 is not less than 5, so we should print 10.

Sample Input 3

6 6

Sample Output 3

10

6 is not less than 6, so we should print 10.



Sample input:
3 5


Sample output:
0

Submission status: Runtime Error

Solution code:
A=int(input())
X=int(input())

if X < A:
    print('0')
else:
    print('10')

Submission status: Runtime Error

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

print(w*h/2)
if x == w/2 and y == h/2:
        print(1)
else:
        print(0)

Submission status: Runtime Error

Solution code:
X,A = int(input())
if X >= A:
  print('10')
else:
  print("0")

Submission status: Runtime Error

Solution code:
w,h,x,y=map(int,input().split())
print((w*h)/2)
if (w==2*x and h!=2*y) or (w!=2*x and h==2*y) or (x==0 and y==0) or (x==w and y==0) or (x==0 and y==h) or (x==w and y==h) or (w/x==h/y and w!=2*x) or (h/y==w/(w-x) and w-x==h and w!=2*x):
  print(0)
else:
  print(1)

Submission status: Runtime Error

Solution code:
print(0 if eval(input().replace(" ","/"))<1 else 10)

Submission status: Runtime Error

Solution code:
X,A=int(input())

if X<A:
  print(0)
else:
  print(10)

Submission status: Runtime Error

Solution code:
X, A = map(int, input())

if X >= A:
  print(10)
else:
  print(0)

Submission status: Runtime Error

Solution code:
N , K = map(int ,input().split())
A = list(map(int , input().split()))
cnt = 0
right = 0
s = 0
for left in range(N):
    while right < N and s < K:
        s += A[right]
        right += 1
    if s < K:
        break
    else:
        cnt += len(A[right - 1:])
        s -= A[left]
print(cnt)

Submission status: Runtime Error

Solution code:
x,a=map(int,input().split())
if x>a
 print("0")
else x<=a
 print("10")

Submission status: Runtime Error

Solution code:
# a simple parser for python. use get_number() and get_word() to read
def parser():
    while 1:
        data = list(input().split(' '))
        for number in data:
            if len(number) > 0:
                yield(number)   

input_parser = parser()

def get_word():
    global input_parser
    return next(input_parser)

def get_number():
    data = get_word()
    try:
        return int(data)
    except ValueError:
        return float(data)

a = get_number()
b = get_number()
if a<b:
    print(0)
else:
    print(10)
print(res)

Submission status: Runtime Error

Solution code:
X = int(input())
A = int(input())

if X<A:
	print(0)
else:
	print(10)

Submission status: Runtime Error

Solution code:
X = int(input())
A = int(input())

if X<A:
  print(0)
else:
  print(10)

Submission status: Runtime Error

Solution code:
n , x  = map(int , input().split())
L = (input().split())

cnt = 1
dis = 0
for i in range(n):
    while dis < x :
        dis = dis + int(L[i])
        cnt +=1

print(cnt)#一回目甘々

Submission status: Runtime Error

Solution code:
n,x=map(int,input().split())
l=list(map(int,input().split()))

ans=0
d=0

for i in range(n):
    d+=l[i]
    ans+=1
    if(d>x):
        break

if(i==n-1):
    ans+=1
print(ans)

Submission status: Runtime Error

Solution code:
import sys

n,x = map(int,input().split())
n = n+1

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


counter = 0
next_jump = 0
for val in range(0,n):
    #if next_jump <= x:
    if next_jump < x:
        next_jump = next_jump + l_L[val-1]
        counter += 1
    else:
        print(counter)
        sys.exit(0)

Submission status: Runtime Error

Solution code:
x, a = int(input().split())

print(10 if x < a else 0)

Submission status: Runtime Error

Solution code:
x = int(input('X'))
a = int(input('A'))
if x < a :
    print(0)
else:
    print(10)

Submission status: Runtime Error

Solution code:
X = input()
A = input()
if int(X) < int(A) :
    print(0)
else:
    print(10)

Submission status: Runtime Error

Solution code:
X = int(input())
A = int(input())
if X < A :
    print(0)
else:
    print(10)

Submission status: Runtime Error

Solution code:
n=[int(i) for i in input().split]
if(n[0]>=n[1]):
  print(10)
else:
  print(0)

Submission status: Runtime Error

Solution code:
if(int(input())<=int(input())):print(10)
else:print(0)

Submission status: Runtime Error

Solution code:
if(input()<=input()):print(10)
else:print(0)

Submission status: Runtime Error

Solution code:
x,a=int(input())
if x<a:
  print(0)
else:
  print(10)

Submission status: Runtime Error

Solution code:
X,A = int(input().split())
if X < A:
    print('0')
else:
    print('10')

Submission status: Runtime Error

Solution code:
a = list(map(int,input().split()))
print(0 if x[0]<a[1] else 10)

Submission status: Runtime Error

Solution code:
a = list(map(int,input().split()))
print(0 if x<a else 10)

Submission status: Runtime Error

Solution code:
x, a = map(int, input())
if x < a:
  print(0)
else:
  print(10)

Submission status: Runtime Error

Solution code:
X, A = map(int,input().split())
if A//X ==0:
    print(0)
else: print(10)

Submission status: Runtime Error

Solution code:
X, A = map(int,input().split())
if A//X ==0:
  print(0)
else: print(10)

Submission status: Runtime Error

Solution code:
x,a = map(int(input()).split())
if x<a:
  print(0)
else:
  print(10)

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())
k = 1
s = 0
for i in map(int, input().split()):
    if s + i <= b:
        k += 1
    s += i
print(k)

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split())
k = 1
s = 0
for i in map(int,input().split()):
    if s+i<=b:
        k+=1
    s+=i

Submission status: Runtime Error

Solution code:
x=int(input())
a = int(input())
if x < a:
    print(0)
else:
    print(10)

Submission status: Runtime Error

Solution code:
if x < a:
  print(0)
elif x > a:
  print(10)

Submission status: Runtime Error

Solution code:
x = int(input()) % 10
a = int(input()) % 10
if x < a:
  print(0)
elif x > a:
  print(10)

Submission status: Runtime Error

Solution code:
x,a=map{int,input().split()}
if a>x:
   print("0")
else:
   print("10")

Submission status: Runtime Error

Solution code:
w,h,x,y = map(int,input().split())
a = 0
b1,b2 = 0,0
if x * h == (w - x) * h:
  a += 1
  b1 = max(x * h,(w - x) * h)
elif w * y == w * (h - y):
  a += 1
  b2 = max(w * y,w * (h - y))

b = max(b1,b2) / 1
if a == 2:
  print(str(b).ljust(15,'0'),1)
else:
  print(str(b).ljust(15,'0'),0)

Submission status: Runtime Error

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

ans = w * h / 2

num = 0
if w == x * 2 and h == y * 2:
    num = 1
else:
    num = 0

print(str(ans) + " " + str(num))

Submission status: Runtime Error

Solution code:
N,X=map(int, input().split())
L=list(map(int, input().split()))
s=[x for x in range(N) if sum(L[:x])<=X]
if N>=len(s):
  print(len(s))
else:
  print(N+1)

Submission status: Runtime Error

Solution code:
x, a = map(int, input())
if x < a:
    print(0)
else:
    print(1)

Submission status: Runtime Error

Solution code:
x, a = map(int, input().split())
print(19 x>=a else 0)

Submission status: Runtime Error

Solution code:
x, a = map(int, input().split()
if x < a:
    print(0)
else:
    print(10)

Submission status: Runtime Error

Solution code:
x, a = map(int, input().split)
if x < a:
    print(0)
else:
    print(10)

Submission status: Runtime Error

Solution code:
X,A = int(a) for a in input().split()
if X<A:
    print("0")
else:
    print("10")

Submission status: Runtime Error

Solution code:
X, A = map(int, input().spilt())

if X < A:
    print(0)
else:
    print(10)

Submission status: Runtime Error

Solution code:
W, H, x, y = map(int, input().split())
ans = 0
me_x = 0
me_y = 0
total = W * H
# (W - x) * H
if (W - x) > x:
  me_x = x * H
else:
  me_x = (W - x) * H

if (H - y) > y:
  me_y = y * W
else:
  me_y = (H - y) * W

if me_x > me_y:
  me_ans = me_x
else:
  me_ans = me_y

if me_x == (total - me_y):
  ans = 1
elif me_y == (total - me_x):
  ans = 1

if me_x == me_y:
  ans = 1
print(me_ans, ans)

Submission status: Runtime Error

Solution code:
n,k=map(int, input().split())
a=list(map(int, input().split()))
ans=0
s=0
j=0
#尺取り法（未満）
for i in range(n):
    #どこまでいけるか
    while(j<n and s+a[j]<k):
        s+=a[j]
        j+=1
    #ずらす
    ans+=j-i
    s-=a[i]
print(n*(n+1)//2-ans)

Submission status: Runtime Error

Solution code:
w,h,x,y = map(int,input().split())
s = w*h/2
if x == w/2 and y == h/2:
  print(s,1)
else:
  print(s,0)

Submission status: Runtime Error

Solution code:
x,a = mao(int,input())
if x >= a:
  print(10)
else:
  print(0)

Submission status: Runtime Error

Solution code:
n,x = map(int,input().split())
l = list(map(int,input().split()))
c = 1
D = 0
li = []
for i in range(1,n+1):
  D += l[i]
  if D <= x:
    c += 1
print(c)

Submission status: Runtime Error

Solution code:
a,b=map(input().split())
print(0 if a<b else 10)

Submission status: Runtime Error

Solution code:
x, a = list(input())
print('100'[x >= a::2])

Submission status: Runtime Error

Solution code:
x, a = list(input())
print('100'[if x >= a::2])

Submission status: Runtime Error

Solution code:
import sys
import math
w, h, x, y = map(int, sys.stdin.readline().split())

d = [None for i in range(4)]
d[0] = abs(x*1+y*(-1)+w*h)/math.sqrt(1**2 + (-1)**2)
d[1] = abs(x*(-h/w)+y*(-1)+h)/math.sqrt((-h/w)**2 + (-1)**2)
d[2] = abs(x-w*0.5)
d[3] = abs(y-h*0.5)

if int(w-2*x)==0 and int(h-2*y)==0:
  print(w*h/2.0, 1)
  exit()
elif int(w-2*x)==0 or int(h-2*y)==0:
  print(w*h/2.0, 0)
  exit()

if int(d1) == 0 or int(d2) == 0:
  if int(w-2*x)==0 and int(h-2*y)==0:
    print(w*h/2.0, 1)
  else:
    print(w*h/2.0, 0)
elif d.index().min(d) == 0:
  if x > 0.5*w:
    if y < h/w*x:
      print((x*w*w)/y*0.5, 0)
    else:
      print((x*h*h)/y*0.5, 0)
  else:
    b = h - (h-y)/(w-x)*w
    if y < h/w*x:
      print(h*(w-b*(w-x)/(h-y))*0.5, 0)
    else:
      print(w*(h-b)*0.5, 0)
elif d.index().min(d) == 1:
  if int(d[0]-d[1]) == 0:
    casenum = 1
  else:
    casenum = 0
    
  if x > 0.5*w:
    if  y > -h/w*x+h:
      print(w*(-(y-h)*w/x)*0.5, casenum)
    else:
      print(h*x*h/(h-y)*0.5, casenum)
  else:
    b = (h + y*w/(x-w)) * (x-w)/y
    if  y > -h/w*x+h:
      print(h*(w-(b-h)*x/(y-h))*0.5, casenum)
    else:
      print(w*(h-b)*0.5, casenum)
elif d.index().min(d) == 2:
  if y > 0.5*h:
    b = w*y/(w-2*x)
    x1=(x-0.5*w)/y*(b-h)
    if x > 0.5*w:
      print(h*(0.5*w+w-x1)*0.5, 0)
    else:
      print(h*(0.5*w+0.5*w-x1)*0.5, 0)
  else:
    b = h - 0.5*w*y/(x-0.5*w)
    x1=b*y/(0.5*w-x)
    if x > 0.5*w:
      print(0.5*h(0.5*w+w-x1), 0)
    else:
      print(0.5*h(0.5*w+0.5*w-x1), 0)    
elif d.index().min(d) == 3:
  print(1,1)
  raise Exception
  if int(d[2]-d[3]) == 0:
    casenum = 1
  else:
    casenum = 0
  if x > 0.5*w:
    if y > 0.5*h:
      print(0.5*w*(0.5*h+h-(y-0.5*h)/x*w+0.5*h), casenum)
    else:
      print(0.5*w*(0.5*h+0.5*h-(y-0.5*h)/x*w+0.5*h), casenum)
  else:
    if y > 0.5*h:
      print(0.5*w*(0.5*h+h-(0.5*h-w*(y-0.5*h)/(x-w))), casenum)
    else:
      print(0.5*w*(0.5*h+0.5*h-(0.5*h-w*(y-0.5*h)/(x-w))), casenum)

Submission status: Runtime Error

Solution code:
import sys
import math
w, h, x, y = map(int, sys.stdin.readline().split())

d1 = abs(x*1+y*(-1)+w*h)/math.sqrt(1**2 + (-1)**2)
d2 = abs(x*(-h/w)+y*(-1)+h)/math.sqrt((-h/w)**2 + (-1)**2)

if int(w-2*x)==0 and int(h-2*y)==0:
  print(w*h/2.0, 1)
  exit()
elif int(w-2*x)==0 or int(h-2*y)==0:
  print(w*h/2.0, 0)
  exit()

if int(d1) == 0 or int(d2) == 0:
  if int(w-2*x)==0 and int(h-2*y)==0:
    print(w*h/2.0, 1)
  else:
    print(w*h/2.0, 0)
elif d1 < d2:
  if x > 0.5*w:
    if y < h/w*x:
      print((x*w*w)/y*0.5, 0)
    else:
      print((x*h*h)/y*0.5, 0)
  else:
    b = h - (h-y)/(w-x)*w
    if y < h/w*x:
      print(h*(w-b*(w-x)/(h-y))*0.5, 0)
    else:
      print(w*(h-b)*0.5, 0)
else:
  if int(d1-d2) == 0:
    casenum = 1
  else:
    casenum = 0
    
  if x > 0.5*w:
    if  y > h/w*x:
      print(w*(-(y-h)*w/x)*0.5, casenum)
    else:
      print(h*x*h/(h-y)*0.5, casenum)
  else:
    b = (h + y*w/(x-w)) * (x-w)/y
    if  y > h/w*x:
      print(h*(w-(b-h)*x/(y-h))*0.5, casenum)
    else:
      print((w-b)*h*0.5, casenum)

Submission status: Runtime Error

Solution code:
N, K = map(int, input().split())
a = list(map(int, input().split()))

#右側のindex
r=0

sum = 0
cnt = 0

for l in range(N):
    while sum < K:
        if r == N:
            break
        else:
            sum += a[r]
            r += 1
    if sum < K :
        break
    cnt += N-r+1
    sum -= a[l]

print(cnt)

Submission status: Runtime Error

Solution code:
#B - Bounding(ABC130)
A=list(map(int, input().split()))
L=list(map(int, input().split()))
D=0
C=1
for i in L:
    D+=i
    if D<=A[1]:
        C+=1
    else:
        print(C)
        break
else:
    print(A[0])

Submission status: Runtime Error

Solution code:
b, c = map(int, input().split())
if b<c :
  print("0")
else if :
  print("10")

Submission status: Runtime Error

Solution code:
b, c = map(int, input().split())
if b<c:
  print("0")
else if:
  print("10")

Submission status: Runtime Error

Solution code:
x,a = map(int, input().split())

if x < a:
  print(0)
elif x => a:
  print(10)

Submission status: Runtime Error

Solution code:
l = list(map(input().split()))
x = l[0]
a = l[1]
if x < a:
  print('0')
else:
  print('10')

Submission status: Runtime Error

Solution code:
x,a=int(input().split())

if x<a:
  print(0)
else:
  print(10)

Submission status: Runtime Error

Solution code:
x=int(input())
a=int(input())

if x<a:
  print(0)
else:
  print(10)

Submission status: Runtime Error

Solution code:
a=int(input())
x=int(input())
if x<10:
  print(0)
else:
  print(10)

Submission status: Runtime Error

Solution code:
n = list(raw_input())
x, a = int(n[0]), int(n[1])
if x >= a:
    print(10)
else:
    print(0)

Submission status: Runtime Error

Solution code:
x,a=map(int,input().split)

if x<a:
  print(0)
else:
  print(10)

Submission status: Runtime Error

Solution code:
x,a=map(int,input().split)

if x<a:
  print('0')
else:
  print('10')

Submission status: Runtime Error

Solution code:
w, h, x, y = map(int,input().split())
area=w*h/2
awee=0
if x==w/2 or y==h/2:
    awee=0
    if x==w/2 and y==h/2:
        awee=1
else:
    awee=0

print(str(area)+" "+str(awee))

Submission status: Runtime Error

Solution code:
    x, a = map(int, input().split())
    r = 0 if x < a else 10
    print(r)

Submission status: Runtime Error

Solution code:
N,X=map(int,input().split())
L=list(map(int,input().split()))

D=[0]*(N)

D[0]=0
count=1
for i in range(1,N):
  D[i]=D[i-1]+L[i-1]
  if D[i]<=X:
    count+=1
  else:
    break
print(count)

Submission status: Runtime Error

Solution code:
N,X = map(int, input().split())
L = [x for x in map(int, input().split())]
accumL = [sum(L[:x]) <= X for x in range(len(L)+1)]
if accumL[-1] == True:
  print(N + 1)
else:
  print(accumL.index(False))

Submission status: Runtime Error

Solution code:
n, x = map(int, input().split())
l = list(map(int, input().split()))
print(1+sum(i <= x for i in [sum(l[0:i+1]) for i in range(n)]))

Submission status: Runtime Error

Solution code:
n, x = map(int, input().split())
l = list(map(int, input().split()))
print(1+sum(i <= x for i in [sum(l[0:i]) for i in range(n)]))

Submission status: Runtime Error

Solution code:
X,A=(inx(x) for x in input().split())
if X>=A:
  print(10)
else:
  print(0)

Submission status: Runtime Error

Solution code:
N,Y= [int(i) for i in input().split()]

if N < X:
	print(0)
else:
	print(10)

Submission status: Runtime Error

Solution code:
x = int(input())
a = int(input())
if x < a:
  print(0);
else:
  print(10);

Submission status: Runtime Error

Solution code:
x,a = int(input()),int(input())
if x < a:
  print(0);
else:
  print(10);

Submission status: Runtime Error

Solution code:
x,a = int(input()),int(input())
if x < a: print(0);
else: print(10);

Submission status: Runtime Error

Solution code:
[n,x]=[int(x) for x in input().split()]
l=[int(x) for x in input().split()]
k=0
count=0
for i in range(n):
  if k<=x:
    count+=1
  k+=l[i]
print(count)

Submission status: Runtime Error

Solution code:
x, a = map(int, input())
if x < a:
    print(0)
else:
    print(10)

Submission status: Runtime Error

Solution code:
X, A = (int(_) for _ in input().split())
if x >= A:
      print(10)
else:
      print(0)

Submission status: Runtime Error

Solution code:
X, A = (int(_) for _ in input().split())
if x >= A:
  print(10)
else:
  print(0)

Submission status: Runtime Error

Solution code:
N,X = map(int, input().split())
L_i = list(map(int, input().split()))

D=[0, 0]
count=1
for n in range(N+1):
  D[1] = D[0] + L_i[n]
  if D[1] <= X:
    count += 1
    D[0] = D[1]
  else:
    break

print(count)

Submission status: Runtime Error

Solution code:
3 5

Submission status: Runtime Error

Solution code:
n, x = (int(i) for i in input().split())  
l = list(int(_) for _ in input().split()) 
distance=0
_count=1
for i in range(0, n+1):
    distance += l[i]
    if distance<=x:
        _count += 1
    else:
        break
print(_count)

Submission status: Runtime Error

Solution code:
x,a  = [int(e) for e in input().split()]
if x < a:
  return 0
else:
  return 10

Submission status: Runtime Error

Solution code:
n,x = map(int,input().split())
 
nums = list(map(int,input().split()))
nums = [0]+nums
s=0

count=1

for val in range(n+1):
    s += nums[val]
    if s <= x:
        count += 1

print(count)

Submission status: Runtime Error

Solution code:
X, A = map(int, input().split())
print(0 if X < a else 10)

Submission status: Runtime Error

Solution code:
import sys                                                                      
 
if __name__ == '__main__':  
    x = sys.argv[1]
    a = sys.argv[2]
    if (x < a): 
        print('0')
    else:
        print('10')

Submission status: Runtime Error

Solution code:
import sys

if __name__ == '__main__':  
    x, a = sys.argv[1].split(' ')
    if (x < a):
        printf('0')
    else:
        printf('10')

Submission status: Runtime Error

Solution code:
import sys

if __name__ == '__main__':
  
  x, a = sys.argv[1].split(' ')
  if (x < a):
    printf('0')
  else:
    printf('10')

Submission status: Runtime Error

Solution code:
n,x=map(int,input().split())
L=list(map(int,input().split()))
#print(L)
D=0
B=[0]
C=[]
for i in range(len(L)):
  D=D+L[i]
  B.append(D)
#print(B)
for i in range(len(L)):
  if B[i]<=x:
    C.append(i)
  else:
    pass
#print(C)
print(min(n+1,len(C)))

Submission status: Runtime Error

Solution code:
X, A = int(input().split(''))
if X < A:
    print(0)
else:
    print(10)

Submission status: Runtime Error

Solution code:
X, A = map(int,input.sprit())


if X > A:
  print("10")
  else:
    print("0")

Submission status: Runtime Error

Solution code:
import std.stdio;

void main() {
  int X, A;
  readf("%d %d", &X, &A);
  writeln(X < A ? 0 : 10);
}

Submission status: Runtime Error

Solution code:
x, a = (int(i) for i in input().split())  
if x < a:
  print(0)
else:
  pritn(10)

Submission status: Runtime Error

Solution code:
N, X = map(int, input().split())
L = list(map(int, input().split()))
D = 0
ans = 1

for i in range(N):
    D += L[i]
    if D <= X:
        ans += 1

print(ans)

Submission status: Runtime Error

Solution code:
n, x = map(int, input().split())
l = list(map(int, input().split()))
d = 0
ans = 1

for i in range(n):
  d += l[i]
  if d < x:
    ans += 1
  else:
    break
    
print(ans)

Submission status: Runtime Error

Solution code:
n, x = map(int, input().split())
l = list(map(int, input().split()))
d = 0
ans = 1

for i in range(n):
  d += l[i]
  if d < x:
    ans ++;
  else:
    break
    
print(ans)

Submission status: Runtime Error

Solution code:
a, x = int(input().split())
print("0" if x < a else "10")

Submission status: Runtime Error

Solution code:
N, X = [int(line) for line in input().split()]
L = [int(line) for line in input().split()]

D = [0]
for i in range(1,N+1):
    Di = D[i-1] + L[i-1]
    D.append(Di)

ans = 0
for i in range(len(D)):
    if D[i] <= X:
      ans += 1
print(ans)

Submission status: Runtime Error

Solution code:
N, X = [int(line) for line in input().split()]
L = [int(line) for line in input().split()]
 
D = [0]#D1 = 0
for i in range(1,N+1):#座標Dの配列を作る
    Di = D[i-1] + L[i-1]
    D.append(Di)
 
for i in range(len(D)):#
    if D[i] == X:
        index = i
        break
    elif D[i] > X:
        index = i - 1
        break
ans = index + 1
print(ans)

Submission status: Runtime Error

Solution code:
N, X = [int(line) for line in input().split()]
L = [int(line) for line in input().split()]

D = [0]#D1 = 0
for i in range(1,N+1):#座標Dの配列を作る
    Di = D[i-1] + L[i-1]
    D.append(Di)

for i in range(len(D)):#
    if D[i] == X:
        index = i
        break
    elif D[i] > X:
        index = i - 1
        break
ans = index + 1
print(ans)

Submission status: Runtime Error

Solution code:
N, X = [int(line) for line in input().split()]
L = [int(line) for line in input().split()]

D = [0]#D1 = 0
for i in range(1,N+1):#座標Dの配列を作る
    Di = D[i-1] + L[i-1]
    D.append(Di)

ans = 0
for i in range(len(D)):#
    if D[i] <= X:
        ans += 1

print(ans)

Submission status: Runtime Error

Solution code:
A,X = map(input(),split())
if A > X :
    print(0)
else:
     print(10)

Submission status: Runtime Error

Solution code:
if A > X :
    print(0)
else:
     print(10)

Submission status: Runtime Error

Solution code:
X, A = list(map(int, input().split()))
if X < A:
  print(0)
elif X => A:
  print(10)

Submission status: Runtime Error

Solution code:
x,a = map(int,input().split())
print(0) if x<a else: print(10)

Submission status: Runtime Error

Solution code:
import sys

a,b=int((x) for x in input().split())

if a>=b:
  print(10)
else:
  print(0)

Submission status: Runtime Error

Solution code:
import sys

X,A=int((x) for x in input().split())

if X>=A:
  print(10)
else:
  print(0)

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())
if a=>b:
  print('10')
else:
  print('0')

Submission status: Runtime Error

Solution code:
a,b=int(input().split)
if a=>b:
  print('10')
else:
  print('0')

Submission status: Runtime Error

Solution code:
X,A = input()

if X < A:
    print('0')
else:
    print('10')

Submission status: Runtime Error

Solution code:
X = input()
A = input()

if X < A:
    print('0')
else:
    print('10')

Submission status: Runtime Error

Solution code:
X = input()
A = input()

if X < A:
    print('0')
else:
    print('1')

Submission status: Runtime Error

Solution code:
ini=input().split()
ini=[int(i) for i in ini]
N=ini[0]
K=ini[1]
a=input().split()
a=[int(i) for i in a]


count=0
ans=0
x=0
lena=len(a)

for i in range(lena):
    for j in range(N-i):
        #print(i,j,a[i+j])
        x += a[i+j]
#        print(i,j,x,count)
        if x >= K:
#            print("aaa",i,j,x,count,ans)
            count = N-j-i
            x=0
            break
        if j==N-i-1:
            x=0
#    print(i,j,ans)
    ans+=count
    count=0
print(ans)

Submission status: Runtime Error

Solution code:
X,A = map(input().split());

if X<A:
  print(0);
elif X>=A:
  print(10);

Submission status: Runtime Error

Solution code:
X,A = input();

if X<A:
  print(0);
elif X>=A:
  print(10);

Submission status: Runtime Error

Solution code:
X = input();
A = input();
 
if X<A:
  print(0);
elif X>=A:
  print(10);

Submission status: Runtime Error

Solution code:
x = int(input());
a = int(input());

if x>a:
  print(0);
else:
  print(10);

Submission status: Runtime Error

Solution code:
X = int(input());
A = int(input());

if X<A:
  print(0);
elif X>=A:
  print(10);

Submission status: Runtime Error

Solution code:
x,a=map(int,(input().split()))
if x<a:
  print("0")
else:
  print{"10")

Submission status: Runtime Error

Solution code:
N, K = list(map(int, input().split()))
a = list(map(int, input().split()))
a.insert(0, 0)
C = 0
s = 0
t = 1
for i in range(1, N + 1):
    for l in range(t, N + 1):
        s += a[l]
        if s >= K:
            C += N - l + 1
            s -= a[i] + a[l]
            t = l
            break
    else:
        break
print(C)

Submission status: Runtime Error

Solution code:
if x < a:
    print(0)
else:
    print(10)

Submission status: Runtime Error

Solution code:
mod = 10**9 + 7

N,M = map(int,input().split())
S = "".join(input().split())
T = "".join(input().split())

dp = [[0]*(M+1) for _ in range(N+1)]
dp[0][0] = 1
for i in range(1,N+1):
    dp[i][0] = 1
for j in range(1,M+1):
    dp[0][j] = 1
for i in range(1,N+1):
    for j in range(1,M+1):
        if S[i-1] == T[j-1]:
            dp[i][j] += dp[i][j-1] + dp[i-1][j]
        else:
            dp[i][j] += dp[i][j-1] + dp[i-1][j] - dp[i-1][j-1]
        dp[i][j] %= mod

ans = dp[N][M]
print(ans)

Submission status: Runtime Error

Solution code:
n,x=list(map(int,input().split()))
l=list(map(int,input().split()))
d=0
for i in range(n):
  d+=l[i]
  if d>x:
    print(i+1)
    break
else:
  print(n+1)

Submission status: Runtime Error

Solution code:
def test():
    N, K = map(int, input().split())
    a_list = list(map(int, input().split()))
    ans = 0
    for i in range(N):
        sum = 0
        for j in range(N - i):
            sum += a_list[i + j]
            if sum >= K:
                ans += N - (i + j)
                break
    print(ans)
    
if __name__ == '__main__':
    test()

Submission status: Runtime Error

Solution code:
a=input();
b=input();
if a<b:
    print(0);
else:
    print(10);

Submission status: Runtime Error

Solution code:
x, a = map(int, input().split())
if x < a:
  print(0)
else:
  print(10

Submission status: Runtime Error

Solution code:
intA = int(input())
intX = int(input())

if 0<=intA and intA<=9 and 0<=intX and intX<=9:
	if intX<intA:
		print(0)
	else:
		print(10)

Submission status: Runtime Error

Solution code:
intA = int(input())
intX = int(input())

if 0<=intA and intA<=9 and 0<=intX and intX<=9:
	if intX<intA:
		print(0)
	else:
		print(1)

Submission status: Runtime Error

Solution code:
x, a = map(int, input())

if x < a:
    print('0')

if x >= a:
    print('10')

Submission status: Runtime Error

Solution code:
alfa=input().split()
N=int(alfa[0])
X=int(alfa[1])
#L=[int(input().split()) for i in range(N)]
L=input().split()

#print(N,X,L)
D=0
count=1
for i in range(N):
    D+=int(L[i])
    if D>X:
        print(count)
        break
    else:
        count+=1

if D<X:
    print(count)

Submission status: Runtime Error

Solution code:
alfa=input().split()
N=int(alfa[0])
X=int(alfa[1])
#L=[int(input().split()) for i in range(N)]
L=input().split()


print(N,X,L)
D=0
count=1
for i in range(N):
    D+=int(L[i])
    if D>X:
        print(count,D,X,i,L[i])
        break
    else:
        count+=1

Submission status: Runtime Error

Solution code:
alfa=input()
N=int(alfa[0])
X=int(alfa[2])
#L=[int(input().split()) for i in range(N)]
L=input().split()


print(N,X,L)
D=0
count=0
for i in range(N):
    count+=1
    D+=int(L[i])
    if D>X:
        print(count)
        break

Submission status: Runtime Error

Solution code:
A = map(int, input().split(" "))
print([10, 0][A[0] < A[1]])

Submission status: Runtime Error

Solution code:
X,A=input().split()
if x>=A:
  print(10)
else:
  print(0)

Submission status: Runtime Error

Solution code:
X, A = map(int,input().split())
print(0) if X < A
print(10) if X >= A

Submission status: Runtime Error

Solution code:
if int(input())<int(input()):
  print(0)
else:
  print(10)

Submission status: Runtime Error

Solution code:
#A
X, A =  map(int, input().split())
if X < A:
    print(f"0")
else:
    print(f"10")

Submission status: Runtime Error

Solution code:
n, x = input().split()
l_list = input().split()
i = 0
ans = 0
y = 1
for l in l_list:
    if i > int(x):
        print(ans)
        y = 0
        break
    i += int(l)
    ans += 1
if y:
  print(ans)

Submission status: Runtime Error

Solution code:
import logging

logging.basicConfig(level=logging.INFO, format="%(message)s")
logging.disable(logging.CRITICAL)

N, K = (int(x) for x in input().split())
L = list(int(x) for x in input().split())

logging.info(L)

counter = 0

for i in range(0, N):
    for j in range(i, N):
        if sum(L[i:j+1]) > K:
            counter = counter + 1

print(counter)

Submission status: Runtime Error

Solution code:
N,X = map(int,input().split())
L = list(map(int,input().split()))

I = 0
A = 1
for i in L:
  I+=i
  if I <= X:
    A += 1
print(A)

Submission status: Runtime Error

Solution code:
x = int(input())
a = int(input())

if x >= a:
	print("10")
elif x < a:
	print("0")

Submission status: Runtime Error

Solution code:
x = int(input())
a = int(input())

if x >= a:
	print(10)
elif x < a:
	print(0)

Submission status: Runtime Error

Solution code:
x = int(input())
a = int(input())

if x >= a:
	print(10)
else:
	print(0)

Submission status: Runtime Error

Solution code:
x = int(input())
a = int(input())

if x < a:
	print(0)
else:
	print(10)

Submission status: Runtime Error

Solution code:
x=int(input())
y=int(input())
if(x>a):
  print("0")
else:
  print("10")

Submission status: Runtime Error

Solution code:
input((int)X)
input((int)A)

if(X<A){ print(0) }
else{ print(10) }

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
from bisect import bisect_left


def main():
    N, K = map(int, input().split())
    *a, = map(int,input().split())
    sum_a = [0] * N
    sum_a[0] = a[0]
    for i in range(N - 1):
        sum_a[i + 1] = sum_a[i] + a[i + 1]

    ans = N - bisect_left(sum_a, K)

    for l in range(1, N):
        ans += N - bisect_left(sum_a, K + sum_a[l - 1])

    print(ans)




if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
ans = 0 if x < a else 10
print(ans)

Submission status: Runtime Error

Solution code:
x,a=int(input().split())
if x>=a:print(10)
else:print(1)

Submission status: Runtime Error

Solution code:

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

if X < A:
  print(0)
else:
  print(10)

Submission status: Runtime Error

Solution code:
X, A = map(int, input().split())
if X < A:
    print(0)
else:
    print(10

Submission status: Runtime Error

Solution code:
N, K = map(int, input().split())
A = list(map(int, input().split()))

count = 0
for i, a in enumerate(A):
  if a >= K:
    count += N-i
    continue
  for j in range(1, N-i):
    a += A[i+j]
    if a >= K:
      count += N-(i+j)
      break
print(count)

Submission status: Runtime Error

Solution code:
import numpy as np

s = list(map(int, input().split()))
N = s[0]
K = s[1]
a = np.array(list(map(int, input().split())))


def judge():
    if l == -1:
        psum = cumsum[r]
    else:
        psum = cumsum[r] - cumsum[l]
    #print(l,r,psum)
    if psum >= K:
        return True
    else:
        return False


counter = 0
cumsum = np.cumsum(a)

for i in range (N):
    r = i
    l = -1
    while judge():  
        counter += 1
        if l == r:
            continue
        else:
            l += 1
    else:
        pass

print(counter)

Submission status: Runtime Error

Solution code:
x=int(input())
a=int(input())
if x<a:
  print(0)
else:
  print(10)

Submission status: Runtime Error

Solution code:
n,x=map(int,input().split())
a=list(map(int,input().split()))
i,s=0,0
while s<=x:
  s=s+a[i]
  i=i+1
print(i)

Submission status: Runtime Error

Solution code:
X, A = map(int, input.split())
print(0 if X < A else 10)

Submission status: Runtime Error

Solution code:
import sys
for e in sys.stdin.readline():
    X, A = map(int, e.split())
    print(0 if X < A else 10)

Submission status: Runtime Error

Solution code:
X, A = map(int, input.split())
print(0 if X < A else 0)