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:
from collections import Counter,defaultdict,deque
from heapq import heappop,heappush,heapify
import sys,bisect,math,itertools,fractions,pprint
sys.setrecursionlimit(10**8)
mod = 10**9+7
mod2 = 998244353
INF = float('inf')
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpln(n): return list(int(sys.stdin.readline()) for i in range(n))

a,b = inpl()
if a >= 13:
    print(b)
elif 5 <= 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())
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 >= 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 = 0

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if age >= 13:
    print(price)
elif age <= 5:
    print(0)
else:
    print(price/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:
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:
l=list(map(int,input().split()))
a=l[0]
b=l[1]
if(a>=13):
  print(b)
elif(1<=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)
elif(1<=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)
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:
def main():
    i = list(map(int, input().split()))
    a = i[0]
    b = i[1]

    #if isinstance(a, int) == False or isinstance(b, int) == False or a < 0 or 100 < a or b < 2 or 1000 < b or b % 2 != 0:
    #    return

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
def main():
    i = list(map(int, input().split()))
    a = i[0]
    b = i[1]

    if isinstance(a, int) == False or isinstance(b, int) == False or a < 0 or 100 < a or b < 2 or 1000 < b or b % 2 != 0:
        return

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

if A[1] % 2 == 0 and 2 <= A[1] and A[1] <= 1000 and A[0] != None and A[1] != None:
    if A[0] >= 13 and A[0] <= 100:
        print(A[1])
    elif 6 <= A[0] and A[0] <= 12:
        print(A[1]/2)
    elif 0 <= A[0] and A[0] <= 5:
        print(0)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
#Ferris Wheel
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:
age =input().split()

if (int(age[0])>=6 and int(age[0])<=12):
  print(int(age[1])/2)
elif int(age[0])<6:
  print(0)
else:
  print(int(age[1]))

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())  #複数数値入力　「A B」みたいなスペース空いた入力のとき

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

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 5 >= A:
    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 5 >= A:
    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 5 >= A:
    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 5 >= A:
    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 6 > A:
    print("0")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python3
# -*- coding: utf-8 -*-

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if a < 6:
  print(0)

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

Submission status: Wrong Answer

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

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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


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

Submission status: Wrong Answer

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

b%2==0
0<=a<=100
2<=b<=1000

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

Submission status: Wrong Answer

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

b%2==0
0<=a<=100
2<=b<=1000

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
from itertools import combinations_with_replacement,product

a,b = [int(x) for x in stdin.readline().rstrip().split()]

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
INPUT = list(map(int,input().split()))
A = INPUT[0]
B = INPUT[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>12:
    print(b)
elif a>6:
    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 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 > 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 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())

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==0:
    print(b-b)
elif 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(A//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 A <= 5:
    print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

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

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

print (ans)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if a >= 13:
  money = b
elif a >= 6 and a <=12:
  money = b/2
elif a <= 5:
  money = 0

print(money)

Submission status: Wrong Answer

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

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

print(money)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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:






def main():
	line = input()
	vector = [int(x) for x in line.split()]
	a = vector[0]
	b = vector[1]
	if a >= 13:
		print(b)
	if a >= 6 and a <= 12:
		print(b // 2)
	if a < 5:
		print(0)







if __name__ == "__main__":
	main()

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 >= 6 else 0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S=list(input().split())
A=int(S[0])
B=int(S[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 <= 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 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 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)
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())

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)

if 6 <= A and 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)

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)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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