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: Accepted

Solution code:
def slove():
    import sys
    input = sys.stdin.readline
    a, b = list(map(int, input().rstrip('\n').split()))
    if a >= 13:
        print(b)
    elif 6 <= a <= 12:
        print(b // 2)
    else:
        print(0)


if __name__ == '__main__':
    slove()

Submission status: Accepted

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)

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#1226
import math
A, B = map(int, input().split())
print(math.floor(B if A > 12 else B/2 if A > 5 else 0))

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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: Accepted

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

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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: Accepted

Solution code:
import sys

input = sys.stdin.readline


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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
def slove():
    import sys
    input = sys.stdin.readline
    a, b = list(map(int, input().rstrip('\n').split()))
    if 13 <= a:
        print(b)
    elif 6 <= a <= 12:
        print(b // 2)
    elif a <= 5:
        print(0)


if __name__ == '__main__':
    slove()

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
from io import StringIO
import unittest

class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)
    def test_入力例_1(self):
        input = """30 100"""
        output = """100"""
        self.assertIO(input, output)
    def test_入力例_2(self):
        input = """12 100"""
        output = """50"""
        self.assertIO(input, output)
    def test_入力例_3(self):
        input = """0 100"""
        output = """0"""
        self.assertIO(input, output)
def resolve():
        (A,B)=(int(i) for i in input().split())
        if A>=13:
                print(B)
        elif A>=6:
                print(int(B/2))
        else:
                print(0)
        

if __name__ == "__main__":
    resolve()

Submission status: Accepted

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: Accepted

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


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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: Accepted

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: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

line = input()
sA, sB = line.split()
A = int(sA)
B = int(sB)

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

Submission status: Accepted

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: Accepted

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: Accepted

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

ans = None

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

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
from sys import stdin

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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

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

Submission status: Accepted

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: Accepted

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: Accepted

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

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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: Accepted

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: Accepted

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: Accepted

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

Submission status: Accepted

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: Accepted

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: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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(int(money))

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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: Accepted

Solution code:
# -*- 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: Accepted

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: Accepted

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

Solution code:
from collections import defaultdict, deque, Counter
from heapq import heappush, heappop, heapify
import math
import bisect
import random
from itertools import permutations, accumulate, combinations
import sys
import string
from bisect import bisect_left, bisect_right
from math import factorial


INF = float('inf')
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LIM(): return list(map(lambda x:int(x) - 1, sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def S(): return sys.stdin.readline().strip()
def IR(n): return [I() for i in range(n)]
def LIR(n): return [LI() for i in range(n)]
def LIRM(n): return [LIM() for i in range(n)]
def SR(n): return [S() for i in range(n)]
def LSR(n): return [LS() for i in range(n)]
def SRL(n): return [list(S()) for i in range(n)]
mod = 1000000007


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*-coding: utf-8 -*-
A, B = map(int, input().split())

if A > 12:
    print(B)
elif A > 5:
    print(B//2)
else:
    print(0)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = list(map(int, input().split()))
if a < 13:
    b *= 0.5
if a < 6:
    b = 0
print(int(b))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import numpy as np
import sys

def main():
    input = sys.stdin.readline
    A, B = map(int, input().split())
    if A >= 13:
        return B
    elif A >= 6 and A < 13:
        return B // 2
    else:
        return 0


if __name__ == '__main__':
    print(main())

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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

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

Submission status: Accepted

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: Accepted

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

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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: Accepted

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

if m[0]<=5:
    print(0)
elif 5<m[0]<=12:
    print(int(m[1]/2))
else:
    print(m[1])

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys


def solve(A: int, B: int):
    if A >= 13:
        print(B)
    elif A>=6:
        print(B//2)
    else:
        print(0)
    return


# Generated by 1.1.5 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  # type: int
    B = int(next(tokens))  # type: int
    solve(A, B)

if __name__ == '__main__':
    main()