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

Submission status: Wrong Answer

Solution code:
A,B= [int(x) for x in 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 = [int(x) for x in input().split()]

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B= [int(i) for i in input().split()]
if A>12:
  print(B)
elif A<6:
  print(0)
else:
  print(B/2)

Submission status: Wrong Answer

Solution code:
N,Y= [int(i) for i in input().split()]
if N>12:print(Y)
elif N<6:print(0)
else:print(Y/2)

Submission status: Wrong Answer

Solution code:
N,Y= [int(i) for i in input().split()]
if N>12: print(Y)
elif N<6:print(0)
else: print(Y/2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
data = input().split()
A = int(data[0])
B = int(data[1])

if A <= 5:
    ans = 0
elif 6 <= A <= 13:
    ans = math.floor(B / 2)
else:
    ans = B

print(ans)

Submission status: Wrong Answer

Solution code:
data = input().split()
A = int(data[0])
B = int(data[1])

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

print(ans)

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a>13:
  print(b)
elif 12>=a and a>=6:
  print(int(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)
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())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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:
# input 2 integers A,B
A,B = (int(x) for x in input().split())

# output the cost to ride the Wheel
if A < 5:
    print(0)
elif A>=6 and A<=12:
    print(int(B/2))
else:
    print(B)

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
inp = input().split()
a, b = int(inp[0]), int(inp[1])

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

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 and a<=12:
  print(b/2)
else:
  print(b)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b= (int(i) for i in 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 = [int(i) for i in 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(int(B))
if A < 5:
  print(int(0))
if 6<= A <=12:
  print(int(B/2))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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)
else:
    print(0)

Submission status: Wrong Answer

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

if age >= 13:
  print( price )
elif age >= 6:
  print( price / 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:
	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>=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:
  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 <= 12:
  print(round(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 <= 12:
  print(rount(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 <= 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(int(B/2))
else:
  print(A)

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

Submission status: Wrong Answer

Solution code:
A, B = map(int,input().split())
if A<=5:
  print(0)
if (6<=A) or(A<=12):
  print(B/2)
if 13<=A:
  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:
i = input().split(" ")
year = int(i[0])
fee = int(i[1])

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = map(int,input().split())
if a < 6:
  print(0)
elif a < 13:
  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:
def main20():
    data = input().split()
    num = []
    for i in range(2):
        num.append(int(data[i]))
    if num[0] > 12:
        print(num[1])
    elif num[0] > 5:
        print(int(num[1]))
    else:
        print(0)

if __name__ == "__main__":
    main20()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

print(charge)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
l = list(map(int,input().split()))
A = l[0]
B = l[1] 

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B=list(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=list(map(int,input().split()))
if A>=13:
    print(B)
elif A<=5:
    print(0)
else:
    print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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 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 <= 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 =list (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 =list( 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<=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()
else :
    print(B/2)

Submission status: Wrong Answer

Solution code:
Age, Fee = (input().split())

if int(Age) >= 13:
    print(Fee)
elif int(Age) <= 13 and int(Age) >= 1:
    half = int(Fee) // 2
    print(half)
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 = 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: print(B/2)
else: print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = list(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 = list(map(int, input().split()))
 
ans = 0
if A >= 13:
  ans = B
elif A >= 6:
  ans = B / 2

print(ans)

Submission status: Wrong Answer

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

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def ferris_wheel(age, cost):
    if age >= 6 and age <= 12:
        print(int(cost / 2))
    else:
        print(cost)

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
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 >= 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
A, B = map(int, input().split())
if A >= 13:
    print(B)
elif 6 <= A < 13:
    print(B/2)
else:
    print('0')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if 13<=A:
    print(B)

elif 6<=A<=12:
    print(A/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(A/2)

else:
    print(0)

Submission status: Wrong Answer

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