qyliang/CodeNanoFix huggingface dataset:
Buggy code:
import sys
input = sys.stdin.readline

M = int(1e18)
n = int(input())
s = list(map(int, input().split()))
res = 1
flag = False
for i in range(len(s)):
	res *= s[i]
	if res > M: flag = True; break
print(-1 if flag else res)

Fixed code:
import sys
input = sys.stdin.readline
 
M = int(1e18)
n = int(input())
s = list(map(int, input().split()))
res = 1
flag = False
if 0 in s: print('0')
else:
    for i in range(len(s)):
        res *= s[i]
        if res > M: flag = True; break
    print(-1 if flag else res)
Buggy code:
a, b = map(int, input().split())
if a<=5:
  print(0)
elif a<=12:
  print(b/2)
else:
  print(b)

Fixed code:
a,b = map(int, input().split())
if a <= 5:
  print(0)
elif 6 <= a <= 12:
  print(b//2)
else:
  print(b)
Buggy code:
import sys
import math

num = input().split()
A = int(num[0])
B = int(num[1])
if A<=12:
	B=B/2
	if A<=5:
		B=0
print(B)




Fixed code:
import sys
import math

num = input().split()
A = int(num[0])
B = int(num[1])
if A<=12:
	B=B/2
	if A<=5:
		B=0
print(int(B))
Buggy code:
A, B = map(int, input().split())
if A >= 13:
    print(int(B))
elif 6 <= A and A < 12:
    print(int(B/2))
elif A < 6:
    print(0)

Fixed code:
A, B = map(int, input().split())

if A >= 13:
    print(B)
elif 6 <= A <= 12:
    print(int(B/2))
else:
    print(0)
Buggy code:
A, B = map(int, input().split())
if A >= 13:
    print(int(B))
if 6 <= A and A < 12:
    print(int(B/2))
if A < 6:
    print(0)


Fixed code:
A, B = map(int, input().split())
if A >= 13:
    print(int(B))
elif 6 <= A and A < 13:
    print(int(B/2))
elif A < 6:
    print(0)
Buggy code:
a,b=map(int,input().split())

if a>12:
    print(b)
elif a<6:
    print(0)
else:
    print(b/2)

Fixed code:
a,b=map(int,input().split())

if a>12:
    print(int(b))
elif a<6:
    print(int(0))
else:
    print(int(b/2))
Buggy code:
A,B = map(int, input().split())

if A >= 13:
     print(B)
elif A>=6 and A<=12:
    print(B/2)
else:
    print("0")

Fixed code:
A, B = map(int, input().split())
if A >= 13:
    print(B)
elif A >= 6 and A <= 12:
    print(int(B / 2))
else:
    print(0)
Buggy code:
a, b = [int(x) for x in input().rstrip().split(" ")]
if a >= 13:
  print(b)
elsif a < 6:
  print(0)
else:
  print(b // 2)


Fixed code:
a, b = [int(x) for x in input().rstrip().split(" ")]
if a >= 13:
  print(b)
elif a < 6:
  print(0)
else:
  print(b // 2)
Buggy code:
A, B = map(int, input().split())

result = 0

if A >= 13:
    result = B
elif  6 <= A <= 12:
    result = B/2

print(result)

Fixed code:
A, B = map(int, input().split())

result = 0

if A >= 13:
    result = B
elif  6 <= A <= 12:
    result = B/2

print(int(result))
Buggy code:
a,b = map(int,input().split())

if a >= 13:
    print(b)
elif 12 >= a >= 6:
    print(b/2)
else:
    
    print(0)

Fixed code:
a,b = map(int, input().split())

if a>=13:
    print(b)
elif 12>=a>=6:
    print(b//2)
else:
    print(0)
Buggy code:
a,b=map(int,input().split())
if a>=13:
  print(b)
elif a<=5:
  print(0)
else:
  print(b/2)

Fixed code:
a,b=map(int,input().split())
if a>=13:
  print(b)
elif a<=5:
  print(0)
else:
  print(int(b/2))
Buggy code:
a,b = map(int,input().split())
if a < 6:
    b = 0
elif a < 13:
    b /= 2
print(b)

Fixed code:
a,b = map(int,input().split())
if a < 6:
    b = 0
elif a < 13:
    b /= 2
print(int(b))
Buggy code:
import sys
A,B= (int(i) for i in input().split())  

if A<5:
    print(0)
    sys.exit()
elif A<12:
    print(int(B/2))
    sys.exit()
else:
    print(B)
    sys.exit()

Fixed code:
import sys
A,B= (int(i) for i in input().split(" "))  

if A<=5:
    print(0)
elif A<=12:
    print(int(B/2))
else:
    print(B)
Buggy code:
A, B = map(int, input().split())
if A >= 13:
    print(B)
elif  6 <= A and A < 13:
    print(B/2)
else:
    print(0)

Fixed code:
A, B = map(int, input().split())
if A >= 13:
    print(int(B))
elif  6 <= A and A < 13:
    print(int(B/2))
else:
    print(0)
Buggy code:
A, B = list(map(int, input().split()))
if A <= 5:
    print(0)
elif 6 <= A <= 12:
    print(A//2)
else:
    print(A)

Fixed code:
A, B= map(int, input().split())
if A <= 5:
  print(0)
elif A <= 12:
  print(B//2)
else:
  print(B)
Buggy code:
A, B = map(int, input().split())
if A >= 13:
    print(B)
elif 6 <= A < 13:
    print(b/2)
else:
    print('0)

Fixed code:
#A
A, B = map(int, input().split())
if A >= 13:
    print(B)
elif 6 <= A < 13:
    print(int(B/2))
else:
    print('0')
Buggy code:
A, B = map(int, input().split())

if A >= 13:
    print(B)
elif A >= 6:
    print(B/2)
else:
    print(0)

Fixed code:
A, B = map(int, input().split())

if A >= 13 : 
    print(B)
elif A < 13 and A >= 6 : 
    print(int(B/2))
else : 
    print(0)
Buggy code:
a,b = map(int, input().split())

if a >=13:
  print(b)
elif a>=6:
  print(b/2)
else:
  print(0)

Fixed code:
a,p = map(int,input().split())
if a >= 13:
  print(p)
elif a >= 6:
  print(p//2)
else:
  print(0)
Buggy code:
a,b = map(int,input().split())

if a <= 5:
    print(0)
elif 5 < a <=12:
    print(b/2)
else:
    print(b)

Fixed code:
a,b=map(int, input().split())
if a<=5:
  print(0)
elif a<=12:
  print(b//2)
else:
  print(b)
Buggy code:
a, b = map(int, input().split())

if a >= 13:
    print(b)
elif a >= 6:
    print(b/2)
else:
    print(0)

Fixed code:
a, b = map(int, input().split())

if a >= 13:
    print(int(b))
elif 6 <= a <= 12:
    print(int(b/2))
else:
    print(0)
Buggy code:
a,b= map(int,input().split())
if a>=13:
  print(b)
elif 6<=b<=12:
  print(b/2)
else:
  print(0)

Fixed code:
a,p= map(int,input().split())
if a>=13:
  print(p)
elif 6<=a<=12:
  print(int(p/2))
else:
  print(0)
Buggy code:
A,B = map(int, input().split())

if A>=13:
    print(B)
elif A>=12:
    print(B/2)
else:
    print(0)

Fixed code:
A, B = map(int, input().split())
if A >= 13:
    print(B)
elif 6 <= A <=12:
    print(B//2)
else:
    print(0)
Buggy code:
A, B = map(int, input().split())
if A >= 13:
    print(B)
if 6 <= A <= 12:
    print(B/2)
if A <= 5:
    print(0) 

Fixed code:
A, B = map(int, input().split())

if A >= 13:
    print(B)
elif 6 <= A and A <= 12:
    print(int(B/2))
elif A <= 5:
    print(0)
Buggy code:
# coding: utf-8
# user: herp_sy

import math
import statistics

a,b = map(int, input().split())
if a <= 5:
  print('0')
elif a >= 13:
  print(b)
else:
  print(b / 2)



Fixed code:
# coding: utf-8
# user: herp_sy

import math
import statistics

a,b = map(int, input().split())
if a <= 5:
  print('0')
elif a >= 13:
  print(b)
else:
  print(b // 2)
Buggy code:
A,B = map(int, input().split())

if A>=13:
    print(B)
elif A>=6:
    print(B/2)
else:
    print(0)

Fixed code:
A, B = map(int, input().split())

if A < 6:
    print(0)
elif A < 13:
    print(int(B / 2))
else:
    print(B)
Buggy code:

def main():
    a, b = map(int, input())
    if a >= 13:
        print(b)
    elif 6 <= a <= 12:
        print(b // 2)
    else:
        print(0)


if __name__ == "__main__":
    main()


Fixed code:

def main():
    a, b = map(int, input().split())
    if a >= 13:
        print(b)
    elif 6 <= a <= 12:
        print(b // 2)
    else:
        print(0)


if __name__ == "__main__":
    main()
Buggy code:
a,b=map(int,input().split())
if a>12:print(b)
elif 5<a<13:print(b/2)
else:print(0)

Fixed code:
a,b = map(int,input().split())

if a>=13:
  print(b)
elif a<=5:
  print(0)
else:
  print( int(b/2) )
Buggy code:
a,b=map(int,input().split())
if a<=5:
  print(0)
elif a>6 and a<=12:
  print(b/2)
else:
  print(b)


Fixed code:
a, b = map(int, input().split())

if 6 <= a <=12:
	print(b // 2)
elif a <= 5:
	print(0)
else:
	print(b)
Buggy code:
#coding:utf-8
A,B = map(int,input().split())

if A >= 13:
    print(B)

if 6 <= A <= 12:
    print(int(B/2))

else:
    print("0")


Fixed code:
#coding:utf-8
A,B = map(int,input().split())

if A >= 13:
    print(B)

if 6 <= A <= 12:
    print(int(B/2))

if A <= 5:
    print("0")
Buggy code:
a,b=map(int,input().split())
if a>12:print(b)
elif 4<a<13:print(b/2)
else:print(0)

Fixed code:
a, b = map(int, input().split())
if a >= 13:
    print(b)
elif 6 <= a <= 12:
    print(b//2)
else:
    print(0)
Buggy code:
a,b=(int (x) for x in input().split())
if a<=5:
  print(0)
elif a<=12:
  print(b/2)
else:
  print(b)

Fixed code:
a,b=(int (x) for x in input().split())
if a<=5:
  print(0)
elif a<=12:
  print(int(b/2))
else:
  print(b)
Buggy code:
a,b=map(int,input().split())

if a<=5:
  print(0)
elif 6<=a<=12:
  print('{}'.format(b//2))
else:
  print("[]".format(b))

Fixed code:
a,b=map(int,input().split())

if a<=5:
  print(0)
elif 6<=a<=12:
  print('{}'.format(b//2))
else:
  print("{}".format(b))
Buggy code:
a,b = map(int,input().split())
if a<6:
  print(0)
elif 5<a<13:
  print(b/2)
else:
  print(b)

Fixed code:
a,b=map(int,input().split())
if 13<=a:print(b)
else:print(0 if a<=5 else b//2)
Buggy code:
A, B = tuple(int(i) for i in input().split(" "))
if A >= 13:
	print(B)
elif A >= 6:
	print(B / 2)
else:
    print(0)

Fixed code:
A, B = tuple(int(i) for i in input().split(" "))
if A >= 13:
    print(B)
elif A >= 6:
	print(int(B / 2))
else:
    print(0)
Buggy code:
inp = input()

a = int(inp.split()[0])
b = int(inp.split()[1])

if a > 12:
  print(b)
elif (a < 13 and a > 5):
  print(b/2)
elif a < 6:
  print(0)

Fixed code:
inp = input()

a = int(inp.split()[0])
b = int(inp.split()[1])

if a > 12:
  print(int(b))
elif (a < 13 and a > 5):
  print(int(b/2))
elif a < 6:
  print(0)
Buggy code:
A, B = map(int, input().split())
if A >= 13:
    print(B)
elif A >= 6:
    print(B/2)
else:
    print(0)

Fixed code:
A, B = map(int, input().split())
if A >= 13:
    print(int(B))
elif A >= 6:
    print(int(B/2))
else:
    print(0)
Buggy code:
#https://atcoder.jp/contests/abc127/tasks/abc127_a

AB = [int(i) for i in input().split()]
if AB[0] >= 6 or AB[0] <= 12:
    print(AB[1] / 2)
elif AB[0] <= 5:
    print(0)
else:
    print(AB[1])

Fixed code:
#https://atcoder.jp/contests/abc127/tasks/abc127_a

AB = [int(i) for i in input().split()]

if AB[0] >= 6 and AB[0] <= 12:
    print(int(AB[1] / 2))
elif AB[0] <= 5:
    print(0)
else:
    print(AB[1])
Buggy code:
a,b = map(int,input().split())
if a<6:
  print(0)
elif 5<a<13:
  print(b/2)
elif 12<a:
  print(b)

Fixed code:
a,b=map(int,input().split())

if a>=13:
    print(b)
elif 6<=a<=12:
    print(b//2)
elif a<=5:
    print("0")
Buggy code:
A,B=map(int,input().split())
ans=0
if A <= 5:
    ans = 0
elif A >= 13:
    ans = B
elif 6<=A<=12:
    ans = B/2
print(ans)

Fixed code:
A,B=map(int,input().split())
ans=0
if 0<=A<=5:
    ans = 0
elif 13<=A<=100:
    ans = B
elif 6<=A<=12:
    ans = B//2
print(ans)
Buggy code:
A,B=map(int,input().split())

if A>=13:
    print(B)
elif A>=6:
    print(B/2)
else:
    print(0)


Fixed code:
A, B = map(int, input().split())

if A >= 13:
    print(B)
elif 6 <= A <= 12:
    print(int(B / 2))
else:
    print(0)
Buggy code:
A,B=map(int,input().split())
ans=0
if A <= 0:
    ans = 0
elif A >= 13:
    ans = B
else:
    ans = B/2
print(ans)

Fixed code:
A,B=map(int,input().split())
if A>=13:
    print(B)
elif 5<A<13:
    print(int(B/2))
else:
    print(0)
Buggy code:
A,B = map(int,input().split())
if A >= 13:
  print(B)
elif A>=6 and A<=12:
  print(B/2)
else:
  print(0)


Fixed code:
A,B = map(int,input().split())
if A >= 13:
  print(B)
elif A>=6 and A<=12:
  print(int(B/2))
elif A<=5:
  print(0)
Buggy code:
A,B = map(int,input().split())
if A >= 13:
  print(B)
elif A>=6:
  print(B/2)
else:
  print(0)

Fixed code:
A,B = map(int, input().split())

if A >= 13:
    print(B)
elif A >= 6:
    print(B//2)
else:
    print(0)
Buggy code:
a,b=map(int, input().split())
if a >= 13:
    print(b)
elif 13 > a and a >5:
    print(b/2)
else:
    print(0)

Fixed code:
a,b=map(int, input().split())
if a >= 13:
    print(b)
elif 13 > a and a >5:
    print(int(b/2))
else:
    print(0)
Buggy code:
A,B = map(int,input().split())
if A >= 13:
  print(B)
elif A>=6 and A<=12:
  print(B/2)
elif: A<=5:
  print(0)


Fixed code:
A,B = map(int,input().split())

if A<=5:
    print("0")

elif 6<=A<=12:
    print(B//2)

elif A >= 13:
    print(B)
Buggy code:
a,b=input().split()
a=int(a)
b=int(b)
if a>=12:
  print(b)
if 6<=a<12:
  print(b/2)
if a<6:
  print("0")

Fixed code:
a,b=input().split()
a=int(a)
b=int(b)
if a>=13:
  print(b)
if 6<=a<13:
  print(int(b/2))
if a<6:
  print("0")
Buggy code:
a,b = map(int,input().split())

if a >= 13: print(b)
elif a <= 5: print(b//2)
else: print(0)

Fixed code:
a,b = map(int,input().split())

if a >= 13: print(b)
elif a <= 5: print(0)
else: print(b//2)
Buggy code:
a,b=map(int, input().split( ))
if a<=5:
  print 0
elif a<12:
  print b/2
else:
  print b


Fixed code:
a, b= map(int, input().split())
if a>12:
    print(b)
elif 5<a<13:
    print(b//2)
else:
    print(0)
Buggy code:
a, b = (int(i) for i in input().split())

def ferris(a, b):
    price = 0
    if a <= 5:
        price = 0
    elif a <= 12:
        price = b / 2
    else:
        price = b
        
    return price

ferris(a, b)

Fixed code:
a, b = (int(i) for i in input().split())

def ferris(a, b):
    price = 0
    if a <= 5:
        price = 0
    elif a <= 12:
        price = b // 2
    else:
        price = b
        
    print(price)

ferris(a, b)
Buggy code:
a,b=map(int, input().split())
if a>=13:
    print(str(b))
elif a>=6:
    print(str(b/2))
else:
    print('0')

Fixed code:
a,b=map(int, input().split())
if a>=13:
    print(int(b))
elif a>=6:
    print(int(b/2))
else:
    print('0')
Buggy code:
a,b=(int(i) for i in input().split())
if a<=5:
  print 0
elif a<12:
  print b/2
else:
  print b


Fixed code:
a,b=(int(i) for i in input().split())
if a<=5:
  print(0)
elif 5<a<=12:
  print(b//2)
else:
  print(b)
Buggy code:
A,B = map(int,input().split())
if 13<=A:
    ans=B
elif 6<=A:
    ans=B/2S
else:
    ans = 0

print(ans)


Fixed code:
A,B = map(int,input().split())
if 13<=A:
    ans=B
elif 6<=A:
    ans=B/2
else:
    ans = 0

print(int(ans))
Buggy code:
A, B = list(map(int, input().split()))
if A >= 13:
    print(B)
elif A <= 5:
    print(0)
else:
    print(B / 2)


Fixed code:
A, B = list(map(int, input().split()))
if A >= 13:
    print(B)
elif A <= 5:
    print(0)
else:
    print(B // 2)
Buggy code:
A,B = map(int,input().split())
if 13<=A:
    ans=B
elif 6<=A:
    ans=B/2
else:
    ans = 0

print(ans)


Fixed code:
A,B = map(int, input().split())

if A >= 13:
    ans = B
elif A >= 6:
    ans = B//2
else:
    ans = 0

print(ans)
Buggy code:
a, b = map(int, input().split())

if a > 12:
  print(b)
elif a > 5:
  print(a / 2)
else:
  print(0)

Fixed code:
a, b = map(int, input().split())
if a > 12:
  print(b)
elif a > 5:
  print(int(b / 2))
else:
  print(0)
Buggy code:
b, c = map(int, input().split())

if b >= 13:
  print(c)
elif 6 <= b <= 12:
  print(c/2)
else:
  print(0)

Fixed code:
b, c = map(int, input().split())

if b >= 13:
  print(c)
elif 6 <= b <= 12:
  print(int(c/2))
elif b <=5:
  print(int(0))
Buggy code:
a, b = input().split()
a, b = int(a), int(b)

if a > 12:
  print(b)
if a > 5 and a < 13:
  print(b/2)
if a <6 :
  print("0")

Fixed code:
a, b = input().split()
a, b = int(a), int(b)

if a > 12:
  print(int(b))
if a > 5 and a < 13:
  print(int(b/2))
if a <6 :
  print("0")
Buggy code:
a, b = map(int, input().split())

if a <= 5:
    print(0)
elif a >= 13:
    print(b)
else:
    print(b/2)

Fixed code:
a, b = map(int, input().split())

if a <= 5:
    print(0)
elif a >= 13:
    print(b)
else:
    print(b//2)
Buggy code:
A,B=map(int,input().split())
if A>=13:print(A)
elif 6<=A and A<13:print(A//2)
else:print(0)

Fixed code:
A,B=map(int,input().split())
if A>=13:print(B)
elif 6<=A and A<13:print(B//2)
else:print(0)
Buggy code:
a,b=map(int,input().split());print((a>5)*b/-~(a<13))

Fixed code:
a,b=map(int,input().split());print((a>5)*b//-~(a<13))
Buggy code:
A, B= map(int,input().split())

if A <6:
  print(0)
elif A>12:
  print(B)
else:
  print(B/2)

Fixed code:
A, B= map(int,input().split())
 
if A <6:
  print(0)
elif A>12:
  print(B)
else:
  print(int(B/2))
Buggy code:
a = []
a = input().split()

A = a[0]
B = a[1]

if A > 13 :
  print(B)
if A >= 6 and A <= 12 :
  print(B / 2)
if A <= 5 :
  print(0)


Fixed code:
a = []
a = input().split()

A = int(a[0])
B = int(a[1])

if A >= 13 :
  print(B)
if A >= 6 and A <= 12 :
  print(int(B / 2))
if A <= 5 :
  print(0)
Buggy code:
l = input().split()
a = int(l[0])
b = int(l[1])
if a >= 13:
    c = b
elif a <=12 and a >= 6:
    c = b /2
else:
    c = 0
print(c)

Fixed code:
l = input().split()
a = int(l[0])
b = int(l[1])
if a >= 13:
    c = b
elif a <=12 and a >= 6:
    c = b /2
else:
    c = 0
print(int(c))
Buggy code:
a,b=map(int,input().split())
if a>=13:
  print(b)
elif 6<=a and a<=12:
  print(b/2)
else:
  print(0)

Fixed code:
a, b = list(map(int, input().split()))
if a >= 13:
    print(b)
elif a >= 6 and a <= 12:
    print(b//2)
else:
    print(0)
Buggy code:
a,b = map(int,input().split())
ans = 0
if a >= 13:
    ans = b
elif 6 <= a <= 12:
    ans = b/2
print(ans)


Fixed code:
a,b = map(int,input().split())
ans = 0
if a >= 13:
    ans = b
elif 6 <= a <= 12:
    ans = b//2
print(ans)
Buggy code:
a,b = input ().split()
if a > 12 :
  print(b)
elif 12 >= b >= 6:
  print(b/2)
else:
  print(0)

Fixed code:
a,b=map(int,input().split())
if a>12:
    print(int(b))	
elif 12>=a>=6:
    print(int(b/2))
else:
    print(0)
Buggy code:
data = list(map(int,input().split()))

if data[0] >= 13:
    print(int(data[1]))
elif data[0] >= 6:
    print(int(data[1]/2)
else:
    print(0)


Fixed code:
data = list(map(int,input().split()))

if data[0] >= 13:
    print(int(data[1]))
elif data[0] >= 6:
    print(int(data[1]/2))
else:
    print(0)
Buggy code:
# -*- coding: utf-8 -*-
a,b=map(int,input().split())
if a>=13:
  print(b)
elif 6<=a<=12:
  print(b/2)
else:
  print(0)

Fixed code:
# -*- coding: utf-8 -*-
a,b=map(int,input().split())
if a>=13:
  print(b)
elif 6<=a<=12:
  print(int(b/2))
else:
  print(0)
Buggy code:
A,B = map(int, input().split())

if A>=13:
    print(B)
elif B>=6:
    print(B//2)
else:
    print(0)

Fixed code:
A,B=map(int, input().split())
print(B if A>=13 else (B//2 if A>=6 else 0))
Buggy code:
a,b=map(int,input().split())
if a>12:
    print(int(b))	
elif 12>=a>=6:
    print(int(b/2)
else:
    print(0)


Fixed code:
a,b=map(int,input().split())
if a >= 13:
    print(b)
elif a >= 6:
    print(b//2)
else:
    print(0)
Buggy code:
import sys
input = sys.stdin.readline

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

if A >= 13:
    print(B)
elif A >= 6:
    print(B/2)
else:
    print(0)

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

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

if A >= 13:
    print(B)
elif A >= 6:
    print(B//2)
else:
    print(0)
Buggy code:
A, B = map(int, input().split())

if A >= 13:
    print(B)
elif A <= 5:
    print(0)
else:
    print(B/2)

Fixed code:
A, B = map(int, input().split())

if A >= 13:
    print(B)
elif A <= 5:
    print(0)
else:
    print(int(B/2))
Buggy code:
a,b=map(int,input().split())
if a<=5:
  print(0)
elif 6<=a and a<=12:
  print(b/2)
else:
  print(b)

Fixed code:
a,b=map(int,input().split())
if a<=5:
  print(0)
elif 6<=a and a<=12:
  print(int(b/2))
else:
  print(b)
Buggy code:
a, b = map(int, input().split())
if a<=5:
  print(0)
elif a>=6 and a<=12:
  print(b/2)
elif a>=13:
  print(b)

Fixed code:
a, b = map(int, input().split())
if a<=5:
  print('0')
elif a>=6 and a<=12:
  print(int(b/2))
elif a>=13:
  print(b)
Buggy code:
a, b = map(int, input().split())
if a <= 5:
    print("0")

elif 6 <= a and a <= 12:
    print(b/2)

elif a >= 13:
    print(b)

Fixed code:
a, b = map(int, input().split())
if a <= 5:
    print("0")

elif 6 <= a and a <= 12:
    print(int(b/2))

elif a >= 13:
    print(b)
Buggy code:
a,b = map(int,input().split())
if a>= 13:
  print(b)
elif 6<= a <= 12:
  print(b/2)
else:
  print(0)

Fixed code:
a,b = map(int,input().split())
if a>= 13:
  print(b)
elif 6<= a <= 12:
  print(int(b/2))
else:
  print(0)
Buggy code:
a,b = map(int, input().split())

if a < 5:
  print(0)
elif 6<= a and a<=12:
  print(b/2)
else:
  print(b)

Fixed code:
a,b = map(int, input().split())
 
if a <= 5:
  print(0)
elif 6<= a and a<=12:
  print(int(b/2))
else:
  print(b)
Buggy code:
A, B = list(map(int, input().split()))

if A > 13:
    print(B)
elif A > 5:
    print(B / 2)
else:
    print(0)

Fixed code:
A, B = list(map(int, input().split()))

if A >= 13:
    print(B)
elif A >= 6:
    print(B // 2)
else:
    print(0)
Buggy code:
A,B = map(int,input().split(' '))
if A >= 13:
  print('{}'.format(B))
elif A <= 12 and A >= 6:
  print('{}'.format(B/2))
else:
  print('0')

Fixed code:
A,B = map(int,input().split(' '))
if A >= 13:
  print('{}'.format(int(B)))
elif A <= 12 and A >= 6:
  print('{}'.format(int(B/2)))
elif A <= 5:
  print('0')
Buggy code:
a, b = map(int, input().split())

if(6 <= a):
    if(a <= 12):
        b /= 2

if(a <= 5):
    b = 0

print(b)


Fixed code:
a, b = map(int, input().split())

if(6 <= a):
    if(a <= 12):
        b /= 2

if(a <= 5):
    b = 0

print(int(b))
Buggy code:
a,b = map(int, input().split(' '))
if a >= 13:
  print(b)
elif 6 <= a < 13:
  print(b//2)

Fixed code:
a,b = map(int, input().split(' '))
if a >= 13:
  print(b)
elif 6 <= a < 13:
  print(b//2)
else:
  print(0)
Buggy code:
a,b = map(int, input().split())
pay = 0
if a>=13:
    pay = b
elif a>=6:
    pay = b/2
print(pay)    

Fixed code:
a,b = map(int, input().split())
pay = 0
if a>=13:
    pay = b
elif a>=6:
    pay = b//2
print(pay)
Buggy code:
a, b= map(int,open(0).read().split())

if (a >=13):
    print (b)
else if(a<=12 and a>=6):
    print(b //2)
else:
    print(0)

Fixed code:
a, b= map(int,open(0).read().split())

if (a >=13):
    print (b)
elif(a<=12 and a>=6):
    print(b // 2)
else:
    print(0)
Buggy code:
A,B= map(int,input().split())
if A>=13:
    print(B)
elif A<=12 & A>=6:
    print(B/2)
elif A<=5:
    print(0)

Fixed code:
A,B= map(int,input().split())

if A>=13:
    print(B)
elif (A<=12) & (A>=6):
    print(int(B/2))
elif A<=5:
    print(int(0))
else:
    pass
Buggy code:
a,b = map(int,input().split())
if a >= 13:
    print(b)
elif 6 <= a <= 12:
    print(b / 2)
else:
    print(0)

Fixed code:
a,b = map(int,input().split())
if a >= 13:
    print(b)
elif 6 <= a <= 12:
    print(int(b / 2))
else:
    print(0)
Buggy code:
a,b = map(int, input().split())

if a <= 5:
  print(0)
elif a >= 6 and a <=12:
  print(b/2)
else:
  print(b)

Fixed code:
a,b=map(int,input().split())
if a>=13:
  print(b)
elif a<=12 and a >=6:
  print(b//2)
else:
  print(0)
Buggy code:
A, B = map(int, input().split())

if A >= 13:
    print(B)
elif A >= 6 and A <= 12:
    print(B / 2)
else:
    print(0)
   

Fixed code:
A, B = map(int, input().split())

if A >= 13:
    print(int(B))
elif A >= 6 and A <= 12:
    print(int(B / 2))
else:
    print(int(0))
Buggy code:
a,b = map(int, input().split())

if a <= 5:
  print(0)
elif 6 <= a and a <= 12:
  print(b/2)
elif 13 <= a:
  print(b)

Fixed code:
a,b = map(int, input().split())

if a <= 5:
  print(0)
elif 6 <= a and a <= 12:
  print(int(b/2))
elif 13 <= a:
  print(b)
Buggy code:
a, b = map(int, input().split())

ans = b

if 12 >= a >= 6:
    ans = b / 2
if a <= 5:
    ans = 0

print(ans)


Fixed code:
a, b = map(int, input().split())

ans = b

if 12 >= a >= 6:
    ans = b // 2
if a <= 5:
    ans = 0

print(ans)
Buggy code:
a,b=map(it,input().split())
p=0
if a>=13:
  p=b
elif a<=5:
  p=0
else:
  p=b//2
print(p)

Fixed code:
a,b=map(int,input().split())
p=0
if a>=13:
  p=b
elif a<=5:
  p=0
else:
  p=b//2
print(p)
Buggy code:
a, b = map(int, input().split())
if a >= 13:
    print(b)
elif 12 => a >= 6:
    print(b / 2)
elif: 5 >= a:
    print(0)

Fixed code:
a, b = map(int, input().split())

if 13 <= a:
    print(b)
elif 6 <= a <= 12:
    print(int(b/2))
elif a <= 5:
    print(0)
Buggy code:
a, b = map(int, input().split())
if a <= 12:
  b = b/2
  if a <= 5:
    b = 0
print(b)

Fixed code:
a, b = map(int, input().split())
if a <= 12:
  b = int(b/2)
  if a <= 5:
    b = 0
print(b)
Buggy code:
read=input();
A,B=read.spilt(' ')
A=int(A)
B=int(B)
if A>12:
  print(B);
elif A>5:
  print(B/2);
else:
  print(0);

Fixed code:
read=input();
A,B=read.split(' ')
A=int(A)
B=int(B)
if A>12:
  print(B);
elif A>5:
  print(int(B/2));
else:
  print(0);
Buggy code:
a,b = map(int,input().split())

if a<6:
    print("0")
elif a<13:
    print(b/2)
else:
    print(b)

Fixed code:
a,b = map(int,input().split()) 

if a<6:
    print("0")
elif a<13:
    print(int(b/2))
else:
    print(b)