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:
#!/usr/bin/env python3

import sys
# import math
# import re                                    # re.compile(pattern) => ptn obj; p.search(s), p.match(s), p.finditer(s) => match obj; p.sub(after, s)
# from collections import deque                # deque class. deque(L): dq.append(x), dq.appendleft(x), dq.pop(), dq.popleft(), dq.rotate()
# from collections import defaultdict          # subclass of dict. defaultdict(facroty)
# from collections import Counter              # subclass of dict. Counter(iter): c.elements(), c.most_common(n), c.subtract(iter)
# from heapq import heapify, heappush, heappop # built-in list. heapify(L) changes list in-place to min-heap in O(n), heappush(heapL, x) and heappop(heapL) in O(lgn).
# from heapq import nlargest, nsmallest        # nlargest(n, iter[, key]) returns k-largest-list in O(n+klgn).
# from itertools import count, cycle, repeat   # count(start[,step]), cycle(iter), repeat(elm[,n])
# from itertools import groupby                # [(k, list(g)) for k, g in groupby('000112')] returns [('0',['0','0','0']), ('1',['1','1']), ('2',['2'])]
# from itertools import starmap                # starmap(pow, [[2,5], [3,2]]) returns [32, 9]
# from itertools import product                # product(iter, repeat=n)
# from itertools import accumulate             # accumulate(iter[, f])
# from functools import reduce                 # reduce(f, iter[, init])
# from functools import lru_cache              # @lrucache ...arguments of functions should be able to be keys of dict
# from bisect import bisect_left, bisect_right # bisect_left(a, x, lo=0, hi=len(a)) returns i such that all(val<x for val in a[lo:i]) and all(val>-=x for val in a[i:hi]).
# from copy import deepcopy                    # to copy multi-dimentional matrix without reference
# from fractions import gcd                    # for Python 3.4


def main():
    mod = 1000000007                  # 10^9+7
    inf = float('inf')
    sys.setrecursionlimit(10**6)    # 1000 -> 1000000
    def input(): return sys.stdin.readline().rstrip()
    def ii():  return int(input())
    def mi():  return map(int, input().split())
    def mi_0(): return map(lambda x: int(x)-1, input().split())
    def lmi(): return list(map(int, input().split()))
    def lmi_0(): return list(map(lambda x: int(x)-1, input().split()))
    def li():  return list(input())
    
    
    a, b = mi()
    if a > 13:
        print(b)
    elif a >= 6:
        print(b//2)
    else:
        print(0)

if __name__ == "__main__":
    main()

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

def price(Old):
  if Old >= 13:
    return B
  elif Old >= 5:
    return int(B/2)
  else:
    return 0
 
print(price(A))

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

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

else:
	print(B)

Submission status: Wrong Answer

Solution code:
i = input().split()

a,b = list(map(int, i))

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

Submission status: Wrong Answer

Solution code:
numerosStr = input().split(" ")
numero=[]
for j in numerosStr:
    numero.append(int(j))

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())
if B>= 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 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 6 <= a <= 12:
    print(b*0.5)
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 6<= a <= 12:
    print(int(b/2))
else:
    print(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 = 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 < 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:
age, price = map(int, input().split())

price = price if age >= 13 else price / 2 if 6 <= age <= 12 else 0

print(price)

Submission status: Wrong Answer

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

if 6 <= age <= 12:
  price /= 2
elif age <= 5:
  price = 0
print(price)

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>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 <=5:
    print("0")
elif 12 >= a >= 6:
    print("50")
else:
    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:
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:
# n = int(input())
a,b = map(int,input().split())
# A = list(map(int,input().split()))
# An = [list(map(int,input().split())) for i in range(n)]

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from collections import deque
from collections import Counter
from itertools import product, permutations,combinations
from operator import itemgetter
from heapq import heappop, heappush
from bisect import bisect_left, bisect_right, bisect
#pypyではscipy, numpyは使えない
#from scipy.sparse.csgraph import shortest_path, floyd_warshall, dijkstra, bellman_ford, johnson, minimum_spanning_tree
#from scipy.sparse import csr_matrix, coo_matrix, lil_matrix
#import numpy as np
from fractions import gcd
from math import ceil,floor, sqrt, cos, sin, pi, factorial
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10**8)
INF = float('inf')

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

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

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 (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 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(int(B))
elif A>=6 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 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:
  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:
o,cost = map(int,input().split())
if o > 12:
  cost = cost
elif o >= 6:
  cost = cost / 2
else:
  cost = 0
print(cost)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if A<=5:
  price+=0
elif 6<=A<=12:
  price+=B/2
else:
  price+=B

print(price)

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

Submission status: Wrong Answer

Solution code:
A,B = map(int,input().split())
if A < 6:
  ans = 0
elif A < 13:
  ans = B//2
else:
  ans = B
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:
age, price = (int(x) for x in input().split(' '))

if age <= 5:
    print('0')
elif age >= 6 & age <= 12:
    print('{}'.format(price // 2))
else:
    print('{}'.format(price))

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

Submission status: Wrong Answer

Solution code:
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

A, B = MAP()

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b=(int(i) for i in input().split())
#外側はタプルを表してるんだね。
#a,b = int(input()),int(input())

if 6<=a<=12 :
    ans = b/2

elif 6 > a :
    ans = 0

else :
    ans = b

print(ans)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(price)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

    price = b

    if 6 <= a <= 12:
        price /= 2
    elif 5 >= a:
        price = 0

    print(price)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

    price = a

    if 6 <= b <= 12:
        price /= 2
    elif 5 >= b:
        price = 0

    print(price)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
#127 a
a,b=map(int,input().split())
kane=[0,b/2,b]
ans=1
if a>=13:
    ans=2
elif a<=5:
    ans=0
print(kane[ans])

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

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:
import sys
import math

num = input().split()
A = int(num[0])
B = int(num[1])
if A<=12:
	B=B/2
	if A<=5:
		B=0
print(B)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

cnt = b

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

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

answer = 0
if A <= 5:
        print(answer)
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 >= 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(b)
else:
    print(b//2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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 = map(int,input().split())

if a >= 13:
    print(b)

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

elif 5 >= a:
    print(0)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if A > 13:
    print(B)

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