qyliang/CodeNanoFix huggingface dataset:
Buggy code:
A, B = list(map(int, input().split()))
if A <= 5:
  print(0)
elif 6 <= A or A <= 12:
  print(B//2)
else:
  print(B)

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

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

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

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

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

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

if A <= 5:
    print(0)
elif A > 5 and A <= 12:
    print(B//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<6:
  print(0)
elif a<13:
  print(b/2)
else:
  print(b)

Fixed code:
a,b=map(int, input().split())
if a<=5:print(0)
elif a<13: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, b = map(int, input().split())

if a <= 5:
    print(0)
elif a >= 13:
    print(b)
else:
    print(int(b/2))
Buggy code:
def main():
    A, B = map(int, input().split())
    if A >= 13:
        print(A)
    elif 6 <= A <= 12:
        print(A // 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())

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

print(ans)

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

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

print(ans)
Buggy code:
x = input().split()
a = int(x[0])
b = int(x[1])
if a >= 13:
  print(b)
elif 6 <= a <= 12:
  priny(b//2)
else:
  print(0)

Fixed code:
x = input().split()
a = int(x[0])
b = int(x[1])
if a >= 13:
  print(b)
elif 6 <= a <= 12:
  print(b//2)
else:
  print(0)
Buggy code:
A, B = map(int, input())
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(B//2)
else:
	print(0)
Buggy code:
n,k=map(int,input().split())
if n>=13:
  print(k)
elif n>=6:
  print(k/2)
else:
  print(0)

Fixed code:
n,k=map(int,input().split())
if n>=13:
  print(k)
elif n>=6:
  print(k//2)
else:
  print(0)
Buggy code:
age,price = map(int,input().split())

if age >= 13:
    print(price)
elif age <= 5:
    print(0)
else:
    print(price/2)

Fixed code:
age,price = map(int,input().split())

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

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


Fixed code:
A, B = map(int,input().split())
C = 0
if A >= 13:
  C = B
else:
  if A >= 6:
    C = B // 2
print(C)
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(int(b))
elif a <= 12 and a >= 6:
    print(int(b/2))
else:
    print(0)
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 A > 5:
    print(B//2)
    
else:
    print(0)
Buggy code:
A,B= [int(x) for x in input().split()]

if A <= 5:
    print(0)
elif 6<= a <= 12:
    print(int(B/2))
else:
    print(B)




Fixed code:
A,B= [int(x) for x in input().split()]

if A <= 5:
    print(0)
elif 6<= 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(b*0.5)
else:
    print(b)

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


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


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

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

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

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

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

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

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

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

if  13<=A:
    print(B)
elif 6<=A<=12:
    print(B//2)
elif A<=5:
    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 <= 5: 
  print(0)
elif A >= 6 and A <= 12:
  print(B//2)
else:
  print(B)
Buggy code:
a,b = (int(x) for x in input().split())

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

Fixed code:
a,b = (int(x) for x in input().split())
 
if a >= 13:
    print(b)
elif a>= 6 and 12 >= a:
    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>= 6:
    print(B//2)
else:
    print(0)
Buggy code:
def i_input(): return int(input())
def s_input(): return map(int,input().split())
def l_input(): return list(map(int, input().split()))

A, B = s_input()

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

Fixed code:
def i_input(): return int(input())
def s_input(): return map(int,input().split())
def l_input(): return list(map(int, input().split()))

A, B = s_input()

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

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


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

if a <= 5:
    c = 0
elif a <= 12:
    c = b / 2
else:
    c = b

print(c)


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

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

print(c)
Buggy code:
n = list(map(int, input().split()))

if n[1] >= 13:
    print(n[0])
elif n[1]>=6 and n[1]<=12:
    print(n[0]/2)
elif n[1]<=5:
    print(0)

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

if n[0] >= 13:
    print(n[1])
elif n[0]>=6 and n[0]<=12:
    print(n[1]//2)
elif n[0]<=5:
    print(0)
Buggy code:
data = [int(s) for in input().split()]

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

Fixed code:
data = [int(s) for s in  input().split()]

if data[0] >= 13:
    print(data[1])
elif data[0] >= 6:
    print(int(data[1]/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 < 6:
    print(0)
elif A < 13:
    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(B)
elif A >= 6:
    print(B // 2)
else:
    print(0)
Buggy code:
# input
A, B = map(int, input().split())

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

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

# check
if A >= 13:
    print(B)
elif 6 <= A <= 12:
    print(B // 2)
else:
    print(0)
Buggy code:
number = input().split(" ")
A = int(number[0])
B = int(number[1])
if A >= 13:
	print(B)
elif 6 =< A < 13:
	print(B/2)
else:
	print(0)

Fixed code:
number = input().split(" ")
A = int(number[0])
B = int(number[1])
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 <= 5:
  print(0)
elif 6 <= 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(int(b/2))
else:
  print(int(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(b)
elif a >= 6:
    print(b//2)
else:
    print(0)
Buggy code:
A,B = map(int,input().split())
if A>12:
    print(B)
elif 13>A>6:
    print(B/2)
else:
    print(0)


Fixed code:
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 6<=b<13:
    print(b//2)
else:
    print(0)

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

if age >= 13:
	print(b)
elif 6 <= age < 13:
	print(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 6<=a<13:
    print(b//2)
else:
    print(0)
Buggy code:
AB=input()
A, B = AB.split() 
A=int(A)
B=int(B)

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

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

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

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

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

a = nums[0]
b = nums[1]
result = 0

if a >= 13:
    result = b
elif 6 <= a <= 12:
    result = b / 2
else:
    result = 0

print(result)

Fixed code:
nums = [int(e) for e in input().split()]

a = nums[0]
b = nums[1]
result = 0

if a >= 13:
    result = b
elif 6 <= a <= 12:
    result = b // 2
else:
    result = 0

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

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

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

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

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

if 6 <= a <= 12:
    b //= 2
elif a < 6:
    b = 0
    
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(b)
elif a>=6:
    print(int(b/2))
else:
    print(0)
Buggy code:
a,b=map(int,input())
if a<13:
  if 5<a:
  print(b/2)
  else:
    print(0)
else:
  print(b)

Fixed code:
a,b=map(int,input().split())
if a<13:
  if 5<a:
    print(b//2)
  else:
    print(0)
else:
  print(b)
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 A<=12:
  print(B//2)
else:
  print(B)
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(b)
elif a < 6:
     print(0)
else:
    print(int(b/2))
Buggy code:
year, yen = map(int, input().split())
if year>=13:
    print(yen)
elif year>=6:
    print(yen/2)
else:
    print(0)

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

if (A >=13):
  print(A)
elif (A <= 12 and A >= 6):
  print(A / 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:
def f():
    A, B = map(int, input().split())
    if A >= 13:
        return B
    elif B >= 6:
        return B // 2
    else:
        return 0


print(f())


Fixed code:

def f():
    A, B = map(int, input().split())
    if A >= 13:
        return B
    elif A >= 6:
        return B // 2
    else:
        return 0


print(f())
Buggy code:
A, B = [int(x) for x in input().split(' ')]

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

Fixed code:
A, B = [int(x) for x in 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())
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 a>=6 and a<=12:
    print(b/2)
else:
    print(0)

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

if a > 12:
    print(b)
elif a < 6:
    print(0)
else:
    print(int(b/2))
Buggy code:
# coding: utf-8
# Your code here!

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

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

Fixed code:
# coding: utf-8
# Your code here!

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

if a >= 13:
    print(b)
elif 12 >= a > 5:
    print(int(b/2))
else:
    print(0)
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 a <= 12:
  print(int(b/2))
else:
  print(b)
Buggy code:
A, B = [int(x) for x in 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 = [int(x) for x in input().split()]

if A >= 13:
    print(B)
elif A >= 6 and A <= 12:
    print(B//2)
elif A <= 5:
    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:
    print(0)
elif A > 5 and A < 13:
    print(B / 2)
else:
    print(B)

Fixed code:
A, B = map(int, input().split())
if A < 6:
    print(0)
elif A > 5 and A < 13:
    print(int(B / 2))
else:
    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:print(b//2)
else:print(0)
Buggy code:
A,B = map(int,input())

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(B//2)
else:
    print(0)
Buggy code:
a,b=map(int,input().split())
c=(0 if a<=5 else b/2 if a<=12 else b)
print(c)

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

Fixed code:
a,b=map(int,input().split())
print(int(b if a>=13 else b/2 if a>=6 else 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 12 >= A > 5:
    print(int(B / 2))
else:
    print(0)
Buggy code:
a,b = map(int,input().split())
print(b if a >= 13 else b/2 if a >= 6 else 0)

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

Fixed code:
age,b = map(int,input().split())	
if age<6:
  print(0)
elif age<13:
  print(b//2)
else:
  print(b)
Buggy code:
A, B = map(int, input().split())
if A <= 5:
  print(0)
elif 6 <= 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(int(B/2))
else:
    print(B)
Buggy code:
A, B = map(int, input().split(" "))
if A >= 13:
    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 6 <= A:
    print(B // 2)
elif A <= 5:
    print(0)
Buggy code:
a,b = (int(x) for x in input().split())

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

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

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

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

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

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

Fixed code:
age,fee = map(int,input().split())
if age >= 13:
  print(fee)
elif 6 <= age <= 12:
  print(fee //2)
elif  age <= 5:
  print(0)
Buggy code:
import sys
inp = list(map(int,input().split()))
A, B = inp[0], inp[1]
if A <= 5:
  print(0)
elif A <= 12:
  print(B/2)
else:
  print(B)

Fixed code:
import sys
inp = list(map(int,input().split()))
A, B = inp[0], inp[1]
if A <= 5:
  print(0)
elif A <= 12:
  print(int(B/2))
else:
  print(B)
Buggy code:
def input_from_console():
    a, b = map(int, input().split())
    return a, b


def solve(a, b):
    if a >= 13:
        return b
    elif a >= 6:
        return b / 2
    else:
        return 0


def main():
    a, b = input_from_console()


if __name__ == "__main__":
    DEBUG = False
    if not DEBUG:
        main()

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


def solve(a, b):
    if a >= 13:
        return b
    elif a >= 6:
        return int(b / 2)
    return 0


def main():
    a, b = input_from_console()
    print(solve(a, b))


if __name__ == "__main__":
    DEBUG = False
    if not DEBUG:
        main()
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  = tuple(map(int, input().split()))

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

if A < 5:
  print(0)
elif A < 12:
  C = B / 2
  print(C)
else :
  print(B)

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

if A <= 5:
  print(0)
elif A <= 12:
  C = B / 2
  print(int(C))
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,b = map(int,input().split())
ans = 0
if a>= 13:
  ans = b
elif 6 <= a <13:
  ans = b//2
print(ans)
Buggy code:
a,b = map(int, input().split())
if a>=13:
    print(b)
elif a<=12 and a>=6:
    print(b/2)
elif a<=5 and a>=0:
    print(0)

Fixed code:
a,b=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())

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 < 13:
    print(b//2)
else:
    print(0)