Problem:


Score : 100 points

Problem Statement

Takahashi, who is A years old, is riding a Ferris wheel.

It costs B yen (B is an even number) to ride the Ferris wheel if you are 13 years old or older, but children between 6 and 12 years old (inclusive) can ride it for half the cost, and children who are 5 years old or younger are free of charge. (Yen is the currency of Japan.)

Find the cost of the Ferris wheel for Takahashi.

Constraints

0 ≤ A ≤ 100

2 ≤ B ≤ 1000

B is an even number.

Input

Input is given from Standard Input in the following format:

A B

Output

Print the cost of the Ferris wheel for Takahashi.

Sample Input 1

30 100

Sample Output 1

100

Takahashi is 30 years old now, and the cost of the Ferris wheel is 100 yen.

Sample Input 2

12 100

Sample Output 2

50

Takahashi is 12 years old, and the cost of the Ferris wheel is the half of 100 yen, that is, 50 yen.

Sample Input 3

0 100

Sample Output 3

0

Takahashi is 0 years old, and he can ride the Ferris wheel for free.



Sample input:
30 100


Sample output:
100

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(ans)

Submission status: Wrong Answer

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

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
#ABC127 A

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

Submission status: Wrong Answer

Solution code:
#ABC127 A

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a>12:
    print(b)
else:
    print(b//2)

Submission status: Wrong Answer

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

if a <= 5:
    print(0)
elif 6 <= a <= 12:
    print(0.5 * p)
elif a >= 13:
    print(p)

Submission status: Wrong Answer

Solution code:
rStr = input()

A = int(rStr.split(' ')[0])
B = int(rStr.split(' ')[1])

result = 0

if 13 <= A :
    result = B

elif A <= 5 :
    result = 0

else :
    result = B / 2

print(result)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

ans = b

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=input().split()
a=int(a)
b=int(b)
if a>=12:
  print(b)
if 6<=a<12:
  print(int(b/2))
if a<6:
  print("0")

Submission status: Wrong Answer

Solution 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")

Submission status: Wrong Answer

Solution code:
a,b=input().split()
a=int(a)
b=int(b)
if a>=12:
  print(b)
if 6<=a<12:
  print(b/2)
else:
  print("0")

Submission status: Wrong Answer

Solution code:
a,b=input().split()
a=int(a)
b=int(b)
if a>=12:
  print(b)
if 6<=a<12:
  print(int(b/2))
else:
  print("0")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if 13<=a:
  p=int(b)
  print(p)
if 6<=a<=12:
  p=int(b//2)
  print(p)
if a<+5:
  print('0')

Submission status: Wrong Answer

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

if 13<=a:
  p=int(b)
  print(p)
if 6<=a<=12:
  p=int(b/2)
  print(p)
if a<+5:
  print('0')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if A >= 13:
    print(B)
else:
    print(int(B/2))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(ans)

Submission status: Wrong Answer

Solution code:
def main():
    a, b = map(int, input().split())

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



if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#入力:N,M(int:整数)
def input2():
	return map(int,input().split())
  
a,b=input2()

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys
A,B = map(int,input().split())
if not ( 0 <= A <= 100 ): sys.exit()
if not ( 2 <= B <= 1000 ): sys.exit()
if not ( B % 2 == 0 ): sys.exit()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution 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)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

print(ans)

Submission status: Wrong Answer

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = [int(a) for a in input().split()]
if b%2==0:
  if a>=13:
    print(b)
  elif 6<=a<=12:
    print(b/2)
  elif a<=5:
    print(0)

Submission status: Wrong Answer

Solution code:
a, b = [int(a) for a in input( ).split()]
if b%2==0:
  if a>=13:
    print(b)
  elif a>=6 and a<=12:
    print(b/2)
  elif a<=5:
    print(0)

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
print(b>>(5<a<13))

Submission status: Wrong Answer

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

if a<=5:
    print('0')

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

else:
    print(b)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution 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)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
try:
    age,money=map(int, input().split())
    assert 0<=age<=100 and 2<=money<=1000 and money%2==0
    if age<=5:
        print('0')
    elif 6<=age<=12:
        print(money/2)
    else:
        print(money)
except AssertionError:
    print('')

Submission status: Wrong Answer

Solution code:
try:
    age,money=map(int, input().split())
    assert 1<=age<=100 and 2<=money<=1000 and money%2==0
    if age<=5:
        print('0')
    elif 6<=age<=12:
        print(money/2)
    else:
        print(money)
except AssertionError:
    print('')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A = 15
B = 200

if A >= 13:
  price = B
elif 6 <= A <= 12:
  price = B/2
else:
  price = 0

print(price)

Submission status: Wrong Answer

Solution 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)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x,y = [int(x) for x in input().split()]

if (0<=x<=5):
      print(0)
elif (5<x<13):
      print(y/2)
else:
      print(y)

Submission status: Wrong Answer

Solution code:
res = [int(i) for i in input().split() if i.isdigit()]
if res[0] > 6 and res[0] <= 12:
    print(int(res[1]/2))
elif res[0] <= 5:
    print(0)
elif res[0] >= 13:
    print(int(res[1]))

Submission status: Wrong Answer

Solution code:
res = [int(i) for i in input().split() if i.isdigit()]
if res[0] > 6 and res[0] <= 12:
    print(res[1]/2)
elif res[0] <= 5:
    print(0)
elif res[0] >= 13:
    print(res[1])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
print([0,b//2,b][min(2,a//6)])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x,y = map(int,input().split())
if (x<=5):
    print(0)
elif (x>=12):
    print(y)
else :
    print(y/2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x,y = map(int,input().split())
if (x>=12):
    print(y)
elif (x<=5):
    print(0)
else :
    print(y/2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
def solve():
  a, b = map(int, input().split())
  if a > 13:
    print(b)
  else:
    print(b//2)
  return 0
 
if __name__ == "__main__":
  solve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution 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)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from collections import Counter 
from collections import defaultdict
from collections import deque
import math
import itertools
import heapq
import sys
sys.setrecursionlimit(10**6)

#n=int(input())
#n,m=list(map(int,input().split()))
#a=list(map(int,input().split()))
input_list = lambda : list(map(int,input().split()))

a,b=input_list()
ans=0
if b>12:
    ans=a
if 13>b and b>5:
    ans=a//2

print(ans)

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
print(max(b*(1//(min(a, 13)//13+1)-5), 0))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a, b = list(map(int, input().split()))
# x = list(map(int, input().split()))
# abc = [int(input()) for i in range(5)]
# n = int(input())
# n, m = list(map(int, input().split()))
if a <= 6:
    print(0)
elif a <= 12:
    print(int(b/2))
else:
    print(b)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:

if __name__ == "__main__":
    A, B = [int(a) for a in input().split()]
    ret = 0
    if A >= 13:
        ret = B
    elif A >= 6:
        ret = B / 2
    else:
        pass
    print(ret)

Submission status: Wrong Answer

Solution code:
# ABC127A

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys
from math import ceil, floor, sqrt, sin, cos, pi
from itertools import accumulate, permutations, combinations
from fractions import gcd # 最大公約数
from collections import deque, Counter
from operator import itemgetter
from heapq import heappop,heappush
sys.setrecursionlimit(10**7)
def lcm(x, y): return ((x * y) // gcd(x, y)) # 最小公倍数
# list(map(int, input().split()))

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

else:
  print("0")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys 
 
A, B = map(int, input().split())
cond_older = (13 < A)
cond_young = (6 <= A) & (13 >= A)
 
ans = (
  B if cond_older else
  B//2 if cond_young else
  0
)
 
print(ans)

Submission status: Wrong Answer

Solution code:
import sys 
 
A, B = map(int, input().split())
cond_older = (13 > A)
cond_young = (6 <= A) & (13 >= A)
 
ans = (
  B if cond_older else
  B//2 if cond_young else
  0
)
 
print(ans)

Submission status: Wrong Answer

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

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