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

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

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

if __name__ == "__main__":
    main() 

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

if __name__ == "__main__":
    main()
Buggy code:
a,b = map(int,input().split())
if a<=5:
    print(0)
elif 6<=a and a<=12:
    print(int(b/2)a)
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 = 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().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 = 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:
import sys
stdin = sys.stdin
 
sys.setrecursionlimit(10**5) 
 
def ii(): return int(stdin.readline())
def li(): return map(int, stdin.readline().split())
A, B = tuple(li())
if A >= 13:
    print(B)
if A >= 6:
    print(B//2)
print(0)


Fixed code:
import sys
stdin = sys.stdin
 
sys.setrecursionlimit(10**5) 
 
def ii(): return int(stdin.readline())
def li(): return map(int, stdin.readline().split())
A, B = tuple(li())
if A >= 13:
    print(B)
elif A >= 6:
    print(B//2)
else:
    print(0)
Buggy code:
a,p=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:
    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().split())
if a <= 5:
  print(0)
elif a < = 12:
  print(b//2)
else:
  print(b)

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

Fixed code:
a,b=input().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 >= 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 13 <= a:
    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 a >= 6:
    print(b//2)

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

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

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

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

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

def Decisionmoney(x,y):
  if x <= 5:
    num = 0
  elif x <= 12:
    num = y / 2
  else:
    num = y
  return y

print(Decisionmoney(x,y))

Fixed code:
x,y = map(int,input().split())
 
def Decisionmoney(x,y):
  if x <= 5:
    num = 0
  elif x <= 12:
    num = y // 2
  else:
    num = y
  return num
 
print(Decisionmoney(x,y))
Buggy code:
A,B = int(input().split())
if A <= 5:
  price = B
elif A >=6 and A <= 12:
  price = B/2
else:
  price = B
print(B)

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

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

print(cost)

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

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

print(int(cost))
Buggy code:
from sys import stdin
import math
import itertools


def makeIntMatrix(lines):
    intMatrix = []
    for a in makeStringMatrix(lines):
        intMatrix.append([int(b) for b in a])
    return intMatrix
 
 
def makeStringMatrix(lines):
    stringMatrix = [line.split() for line in lines]
    return stringMatrix
 
 
def makeInt(line):
    return int(line.rstrip())
 
 
def makeMultiInteger(line):
    return [int(x) for x in line.rstrip().split()]


def solve(input_string):
    a, B = makeMultiInteger(input_string[0])
    #print(a, b, c)
    if a >= 13:
        return B
    elif a >= 6 and a < 13:
        return B/2
    else:
        return 0


def main():
    input_lines = stdin.readlines()
    answer = solve(input_lines)
    print(answer)


if __name__ == '__main__':
    main()


Fixed code:
from sys import stdin
import math
import itertools


def makeIntMatrix(lines):
    intMatrix = []
    for a in makeStringMatrix(lines):
        intMatrix.append([int(b) for b in a])
    return intMatrix
 
 
def makeStringMatrix(lines):
    stringMatrix = [line.split() for line in lines]
    return stringMatrix
 
 
def makeInt(line):
    return int(line.rstrip())
 
 
def makeMultiInteger(line):
    return [int(x) for x in line.rstrip().split()]


def solve(input_string):
    a, B = makeMultiInteger(input_string[0])
    #print(a, b, c)
    #print(a)
    if a >= 13:
        return B
    elif (a >= 6 and a < 13):
        return B//2
    else:
        return 0


def main():
    input_lines = stdin.readlines()
    answer = solve(input_lines)
    print(answer)


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

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


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

if a >= 13:
  print(b)
  exit()
  
if a >= 6:
  b //= 2
  print(b)
  exit()
  

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

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

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

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

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

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

Fixed code:
i=list(map(int,input().split()))
if i[0]>=13:
  print(i[1])
elif 6<=i[0]<=12:
  print(int(i[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(int(0))

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

    print(ans)


if __name__ == "__main__":
    main()


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

    print(ans)


if __name__ == "__main__":
    main()
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<13:
  print(B/2)
else:
  print(B)

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

ans = 0

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

print(ans)


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

ans = 0

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

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

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

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

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

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

if temp[0]>12:
  print(temp[1])
elif temp[0]<6:
  print(0)
else:
  print(temp[1]/2)

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

if temp[0]>12:
  print(temp[1])
elif temp[0]<6:
  print(0)
else:
  print(int(temp[1]/2))
Buggy code:
import sys

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

if a == 0:
	b = 0
elif 13 > a:
	b = b/2

print(b)

Fixed code:
import sys

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

if 6 > a:
	b = 0
elif 13 > a:
	b = b/2

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


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

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

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

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

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

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

if A<=5:
    ans=0
elif A>=13:
    ans=B
else:
    ans=B/2
print(int(ans))
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 =list(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(a)
elif a >= 6:
  print(a//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:
age, teenPrice = [int(i) for i in input().split()]

if age >= 13:
    print(teenPrice);
elif age >= 6 and age <= 12:
    print(teenPrice / 2);
else:
    print(0);

Fixed code:
age, teenPrice = [int(i) for i in input().split()]

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

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

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

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

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

if a >= 13:
  ans = b
elif 6 <= a <= 12:
  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(b/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:
istr=input()
a,b=istr.split(' ')
a=int(a)
b=int(b)
if a>12:
    print(b)
elif a>=6:
    print(b/2)
else:
    print(0)

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

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


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

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

age = int(inp[0])
cost = int(inp[1])

if age >= 13: print(cost)
elif age >= 6: print(cost/2)
else: print(0)

Fixed code:
inp = input().split()

age = int(inp[0])
cost = int(inp[1])

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

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

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

print(ans)


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

print(ans)
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 >= 13:
    print(int(B))
elif 6 <= A <= 12:
    print(int(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)
else:
  print(0)


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


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

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

print(main())


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

print(main())
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 6<=a and a<=12:
    print(int(b/2))
else:
    print(0)
Buggy code:
def solve():
  a, b = map(int, input().split())
  if a > 13:
    print(b)
  else:
    print(b//2)
  return 0
 
if __name__ == "__main__":
  solve()


Fixed code:
def solve():
  a, b = map(int, input().split())
  if a >= 13:
    print(b)
  elif 13 > a >= 6:
    print(b//2)
  else:
    print(0)
  return 0
 
if __name__ == "__main__":
  solve()
Buggy code:
a, b = list(map(int, input().split()))
 
if  a>=13:
            m = b
elif a>=6:
            m =b/2
else:
            m =0
            
print(m)

Fixed code:
a, b = list(map(int, input().split()))
 
if  a>=13:
            m = int(b)
elif a>=6:
            m =int(b/2)
else:
            m =0
            
print(m)
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:
    print(0)

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

print(b)
Buggy code:
A, B = map(int, input().split())

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



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

if A < 6:
    print(0)
elif 6 <= A <13:
    print(B//2)
else:
    print(B)
Buggy code:
from sys import stdin

A, B = map(int, stdin.readline().split())
if A >= 13:
  print(B):
elif 12 >= A >= 6:
  print(B // 2)
else:
  print(0)

Fixed code:
from sys import stdin

A, B = map(int, stdin.readline().split())
if A >= 13:
  print(B)
elif 12 >- A and 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(2 / b)
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 <= 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(B//2)
else:
    print(B)