qyliang/CodeNanoFix huggingface dataset:
Buggy code:
A,B=input().split()

A=int(A)
B=int(B)

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

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

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

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

print(f)

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

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

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

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

if age <= 5:
  print(0)
elif age <= 12:
  print(cost / 2)
else:
  print(cost)

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

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

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

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

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

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

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

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

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

Fixed code:
#coding:utf-8
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())

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

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

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

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

if 13<=A:
    print(B)

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

else:
    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 = list(map(int, input().split()))
age = a[0]
yen = a[1]

if age <= 5:
    yen = 0
elif 6 <= age <= 12:
    yen = yen % 2

print(yen)

Fixed code:
a = list(map(int, input().split()))
age = a[0]
yen = a[1]

if age <= 5:
    yen = 0
elif 6 <= age <= 12:
    yen /= 2

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

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

    res=B
    if 6<=B=<12:
        res=res//2
    elif B<=5:
        res=0

    print(res)

if __name__=="__main__":
    main()
    


Fixed code:
def main():
    inp=list(map(lambda x:int(x),input().split()))
    A=inp[0]
    B=inp[1]

    res=B
    if A>=6 and A<=12:
        res=res//2
    elif A<=5:
        res=0

    print(res)

if __name__=="__main__":
    main()
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 < 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(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 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:
  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 a >= 13:
    print(b)
elif 6<=a:
    print(b/2)
else:
    print(0)

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

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

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

elif 5 >= a:
    print(0)

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

if a >= 13:
    print(b)

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

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

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

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

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

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

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

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


Fixed code:
ab = input().split()
if (int(ab[0]) >= 13):
    print(int(ab[1]))
elif (int(ab[0]) <= 5):
    print(0)
else:
    print(int(ab[1])//2)
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())

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

Fixed code:
data=input().split()
A=int(data[0])
B=int(data[1])
if A>=13:
  print(B)
elif 6<=A<=12:
  print(int(B/2))
else:
  print(0)
Buggy code:
age, max_money = int(input().split())
if age>= 13:
  print(max_money)
elif age>=6 and age<=12:
  print(max_money//2)
elif age<=5:
  print("0")

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

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

Fixed code:
x = list(map(int, input().split()))
year = x[0]
money = x[1]
if year >= 13:
         print(money)
elif 12 >= year >= 6:
         print(int(money / 2))
else :
         print(0)
Buggy code:
a, b = map(int, input().split())

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


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<6:
  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(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)
elif A>=13:
  print(B)

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


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


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

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

Fixed code:
#coding:utf-8
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 13<=A:
	print(B)
elif 6<=A<=12:
	print(B/2)
else:
	print("0")

Fixed code:
A,B=map(int,input().split())
if 13<=A:
	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<=5:
  print(0)
elif A<=12:
  print(int(B/2))
else:
  print(B)
Buggy code:
# coding: utf-8
import re
import bisect
from datetime import datetime as dt
A, B = map(int, input().split())
if 6 <= A <= 12:
    print(B / 2)
elif A <= 5:
    print(0)
else:
    print(B)


Fixed code:
# coding: utf-8
import re
import bisect
from datetime import datetime as dt
A, B = map(int, input().split())
if 6 <= A <= 12:
    print(int(B / 2))
elif A <= 5:
    print(0)
else:
    print(B)
Buggy code:
a,b=map(int,input().split())
print(b if a>=13 else b//2 if b>=6 else 0)

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

Fixed code:
n, k = map(int, input().split())
if n >= 13:
    print(k)
elif n < 13 and n >= 6:
    print(int(k/2))
else:
    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 > 12:
    print(b)

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

def main(_old, _fee):
    if int(_old) >= 13:
        return int(_fee)
    elif 6 <= int(_old) <= 12:
        return int(_fee) / 2
    else:
        return 0

if __name__ == '__main__':
    print(main(a, b))

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

def main(_old, _fee):
    if int(_old) >= 13:
        return int(_fee)
    elif 6 <= int(_old) <= 12:
        return int(_fee) // 2
    else:
        return 0

if __name__ == '__main__':
    print(main(a, 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<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 5<a<13:
  b/=2
if a<6:
  b=0
print(b)
  

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

if A >= 13:
    print(B)

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

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 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>=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 >= 6:
  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 6<=A<=12:
    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(b//2)
else:
    print(0)
Buggy code:
def calculate(age, price):
  if age >= 13:
    return price
  elif age >= 6:
    return price / 2
  else:
    return 0
  
  
import sys
 
a=0
b=0
is_arg_ok = False
try:
  num_list = input().split(' ')
  age = int(num_list[0])
  price = int(num_list[1])
  is_arg_ok = True
  
except:
  print('age,price must be numbers')
  sys.exit(1)

calculated_price = calculate(age, price)
print(calculated_price)
sys.exit(0)



Fixed code:
def calculate(age, price):
  if age >= 13:
    return price
  elif age >= 6:
    return int(price / 2)
  else:
    return 0
  
  
import sys
 
a=0
b=0
is_arg_ok = False
try:
  num_list = input().split(' ')
  age = int(num_list[0])
  price = int(num_list[1])
  is_arg_ok = True
  
except:
  print('age,price must be numbers')
  sys.exit(1)

calculated_price = calculate(age, price)
print(calculated_price)
sys.exit(0)
Buggy code:
a,b=map(int,input().split())
print(b if a>12 else 0 if a<6 else b/2)

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

Fixed code:
a,b=list(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 and A<=12:
  print(B/2)
else:
  print(0)
  

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

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

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

print(ans)

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

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

print(ans)
Buggy code:
A,B = [int(x) for x in input().split()]
print(B if A>=13 else 0 if A<=5 else A//2)


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

main()


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

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

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

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