Problem:


Score : 100 points

Problem Statement

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

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

Find the cost of the Ferris wheel for Takahashi.

Constraints

0 ≤ A ≤ 100

2 ≤ B ≤ 1000

B is an even number.

Input

Input is given from Standard Input in the following format:

A B

Output

Print the cost of the Ferris wheel for Takahashi.

Sample Input 1

30 100

Sample Output 1

100

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

Sample Input 2

12 100

Sample Output 2

50

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

Sample Input 3

0 100

Sample Output 3

0

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



Sample input:
30 100


Sample output:
100

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
ab = list(map(lambda x: int(x), input().split()))
a = ab[0]
b = ab[1]

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

result = 0

if A >= 13:
    result = B
elif  6 <= A <= 12:
    result = B/2

print(result)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

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

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8

import sys
input = sys.stdin.readline

# N = int(input())
# L = [int(x) for x in input().split()]
A, B = map(int, input().split())
# S = input()

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

Submission status: Wrong Answer

Solution code:
import sys
stdin = sys.stdin
sys.setrecursionlimit(10**6)

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
nn = lambda: list(stdin.readline().split())
ns = lambda: stdin.readline().rstrip()

a,b = na()

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

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import collections as c
ip = lambda : map(int, input().split())

# ##############
A,B = ip()
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<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 < 13:
  print(b//2)

Submission status: Wrong Answer

Solution code:
#https://atcoder.jp/contests/abc127/tasks/abc127_a

AB = [int(i) for i in input().split()]
if AB[0] >= 6 or AB[0] <= 12:
    print(AB[1] / 2)
elif AB[0] <= 5:
    print(0)
else:
    print(AB[1])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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:
#!/usr/bin/env pypy
from __future__ import division, print_function

import os
import sys
from __builtin__ import xrange as range
from cStringIO import StringIO
from future_builtins import ascii, filter, hex, map, oct, zip
from io import IOBase

import __pypy__


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


# region fastio

BUFSIZE = 8192


class FastI(IOBase):
    def __init__(self, file):
        self._fd = file.fileno()
        self._buffer = StringIO()
        self.newlines = 0

    def read(self):
        if self._buffer.tell():
            return self._buffer.read()
        return os.read(self._fd, os.fstat(self._fd).st_size)

    def readline(self):
        while self.newlines == 0:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            self.newlines = b.count("\n") + (not b)
            ptr = self._buffer.tell()
            self._buffer.seek(0, 2), self._buffer.write(b), self._buffer.seek(ptr)
        self.newlines -= 1
        return self._buffer.readline()


class FastO(IOBase):
    def __init__(self, file):
        self._fd = file.fileno()
        self._buffer = __pypy__.builders.StringBuilder()
        self.write = lambda s: self._buffer.append(s)

    def flush(self):
        os.write(self._fd, self._buffer.build())
        self._buffer = __pypy__.builders.StringBuilder()


def print(*args, **kwargs):
    sep, file = kwargs.pop("sep", " "), kwargs.pop("file", sys.stdout)
    at_start = True
    for x in args:
        if not at_start:
            file.write(sep)
        file.write(str(x))
        at_start = False
    file.write(kwargs.pop("end", "\n"))
    if kwargs.pop("flush", False):
        file.flush()


sys.stdin, sys.stdout = FastI(sys.stdin), FastO(sys.stdout)
input = lambda: sys.stdin.readline().rstrip("\r\n")

# endregion

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,datetime
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inpl(): return list(map(int, input().split()))
def inpl_str(): return list(input().split())

A,B = inpl()
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, raw_input().split())
if a >= 13:
	print b 
elif 6 <= b <= 12:
	print b/2
else:
	print 0

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(ans)

Submission status: Wrong Answer

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

if a <= 5:
    print(0)

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

else:
    print(b)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Time Limit Exceeded

Solution code:
a = [0 for i in range(10 ** 9)]

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

Submission status: Accepted

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

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

Submission status: Accepted

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


if a<=5:
    fee = 0
elif a>=13:
    fee = b
else:
    fee = b//2

print(fee)

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 print(int(B*0.5)) if 6<=A<=12 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(int(b/2))
else:
  print(0)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = map(int, 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:
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 <= 12: print(B // 2)
else: print(0)

Submission status: Accepted

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

if __name__ == '__main__':
    main()

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

elif 5 >= A:
    print(0)

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
rStr = input()

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

result = 0

if 13 <= A :
    result = B

elif A <= 5 :
    result = 0

else :
    result = int(B / 2)

print(result)

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

Submission status: Accepted

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

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

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():
    A, B = map(int, input().split())
    if A <= 5:
        print(0)
    elif A > 5 and A <= 12:
        print(B//2)
    else:
        print(B)
    
    
if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def solver():
    A, B = [int(n) for n in input().split()]
    if A <=5:
      return 0
    if 6 <= A <= 12:
      return B//2
    if 13 <= A:
      return B

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

Submission status: Accepted

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

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

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:
    ans=0

elif 6<=a<=12:
    ans=b//2
    
else:
    ans=b
    
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 = list(map(int, input().split()))

m = 0

if a>12:
    m = b
elif a>5:
    m = b//2

print(m)

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 <= 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 <= 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 >= 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(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:
# ABC127
# A Ferris Wheel
a, b = map(int, input().split())
if a > 12:
    print(b)
    exit()
elif a < 6:
    print(0)
    exit()
else:
    print(b // 2)
    exit()

Submission status: Accepted

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

if A <= 5:
	print("0")

elif A >= 13:
	print(B)

else:
	print(int(B/2))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
def MI(): return map(int,sys.stdin.readline().rstrip().split())


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

Submission status: Accepted

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

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

print(ans)

Submission status: Accepted

Solution code:
import sys

A, B = map(int, sys.stdin.readline().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 >= 6:
    print(b//2)
else:
    print(0)

Submission status: Accepted

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

print(main())

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

Submission status: Accepted

Solution code:
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:
A,B=map(int,input().split())
if A>12:
    print(B)
elif A>5:
    print(B//2)
else:
    print(B*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:
def LI():
    return list(map(int, input().split()))


A, B = LI()
if A >= 13:
    ans = B
elif A > 5:
    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 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(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:
import sys

sys.setrecursionlimit(10**7)
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int,sys.stdin.readline().rstrip().split())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))  #空白あり
def LI2(): return list(map(int,sys.stdin.readline().rstrip()))  #空白なし
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())  #空白あり
def LS2(): return list(sys.stdin.readline().rstrip())  #空白なし



A,B = MI()
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 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(b//2)

else:
    print(0)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,p = map(int,input().split())
if a >= 13 :
  print(p)
elif a >= 6 :
  print(p//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())
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 <= 5:
  print(0)
elif A <= 12:
  C = B / 2
  print(int(C))
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:
def mapt(fn, *args):
    return list(map(fn, *args))


def Input():
    return mapt(int, input().split(" "))


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

main()

Submission status: Accepted

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

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