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

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

Submission status: Accepted

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

else:
    print("0")

Submission status: Accepted

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

print(int(P))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a = list(map(int, input().split()))
if a[0]>=13:
    print(a[1])
elif a[0]>=6 and a[0]<=12:
    print(int(a[1]/2))
elif a[0]<=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())

ans = B
if (A <= 5):
    ans = 0
else:
    if (6 <= A and A <= 12):
        ans = B/2

print(int(ans))

Submission status: Accepted

Solution code:
ss=input().split(" ")
A=int(ss[0])
B=int(ss[1])
if A>=13:
  print(B)
elif A<=5:
  print(0)
elif 5<A<13:
  print(int(B/2))

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

Submission status: Accepted

Solution code:
def read():
    A, B = list(map(int, input().strip().split()))
    return A, B


def solve(A, B):
    if A <= 5:
        return 0
    elif A <= 12:
        return B // 2
    return B


if __name__ == '__main__':
    inputs = read()
    print("%d" % solve(*inputs))

Submission status: Accepted

Solution code:
def main():
    AB = list(map(int, input().split()))
    A, B = AB[0], AB[1]
    if A >= 13:
        print(B)
    elif 6 <= A and A <= 12:
        print(B//2)
    elif A <= 5:
        print(0)
main()

Submission status: Accepted

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

print(int(wheel(A,B)))

Submission status: Accepted

Solution code:
from collections import deque
from heapq import heappush,heappop
import re

def int_raw():
    return int(input())

def ss_raw():
    return input().split()

def ints_raw():
    return list(map(int, ss_raw()))

INF = 1<<29

A,B = ints_raw()

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

main()

Submission status: Accepted

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

if a >= 13:
    ans += b
elif a >= 6 and a <= 12:
    ans += int(b/2)

print(ans)

Submission status: Accepted

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

if A >= 13:
    print(B)
elif A >= 6 and A <= 12:
    print("{:.0f}".format(B/2))
elif A <= 5:
    print(0)

Submission status: Accepted

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

Submission status: Accepted

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

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 < 6:
    print(0)
elif A > 5 and A < 13:
    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:
import math
import sys
sys.setrecursionlimit(10 ** 6 + 10)
from collections import defaultdict

def kari():
    map(int, input().split())

    num, num2 = map(int, input().split())
    data = [list(map(int, input().split())) for i in range(num2)]

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
INF = float("inf")

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
''' 
------------------------
author : iiou16
------------------------
'''

def main():
    A, B = list(map(int, input().split()))

    if A < 6:
        print("0")
    elif A < 13:
        print(str(int(B / 2)))
    else:
        print(B)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

if a >= 13:
    ans = b
elif a >= 6:
    ans = b // 2

print(ans)

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

if 6 <= y <= 12:
    c = c //2
elif y < 6:
    c = 0
    
print(c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if(6 <= a):
    if(a <= 12):
        b /= 2

if(a <= 5):
    b = 0

print(int(b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math

A, B = map(int, sys.stdin.readline().split())

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

print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

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

fee = 0
if int(s[0]) >= 13:
  fee = int(s[1])
elif int(s[0]) <= 5:
  fee = 0
else:
  fee = int(int(s[1])/2)

print(fee)

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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

if A <= 5:
    print(0)

Submission status: Accepted

Solution code:
#!/usr/bin/python
# coding: UTF-8

a,b = input().split()

a = int(a)
b = int(b)

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
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:
import sys
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 = list(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:
import sys
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def II(): return int(sys.stdin.readline())
def LS(): return sys.stdin.readline().split()
sys.setrecursionlimit(10**7)
INF = 10 ** 18
MOD = 10 ** 9 + 7
def LI_(): return [int(x) - 1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def SI(): return input()
YN = lambda b: print('YES') if b else print('NO')
yn = lambda b: print('Yes') if b else print('No')

A, B = LI()

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

Submission status: Accepted

Solution code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
import sys
import math
import collections

A,B = map(int, sys.stdin.readline().rstrip().split(" "))
if A >= 13:
    print(B)
elif A>=6:
    print(B//2)
else:
    print(0)
exit(0)

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
stdin = sys.stdin
 
sys.setrecursionlimit(10**5) 
 
def ii(): return int(stdin.readline())
def li(): return map(int, stdin.readline().split())
A, B = tuple(li())
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 6<=a<=12:
    print(int(b/2))
else:
    print(0)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

def solve(a, b):
    if a >= 13:
        return b
    elif a <= 5:
        return 0
    else:
        return b / 2

if __name__ == '__main__':

    a, b = map(int, sys.stdin.readline().strip().split(" "))
    print solve(a, b)

Submission status: Accepted

Solution code:
a, b = [int(c) for c in 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>=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 > 5:
  print(int(0.5*B))
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)
elif A<6:
    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:
    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:
  ans = 0
elif 6 <= a <= 12:
  ans = b/2
else:
  ans = b
  
print(int(ans))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
A,B = map(int,input().split())
ans = B
if A >= 6 and A <= 12:
    ans = B / 2
elif A <= 5:
    ans = 0

print(int(ans))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import os, sys, re, math

A,B = [int(s) for s in input().split(' ')]

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

Submission status: Accepted

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

Submission status: Accepted

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

input_str = input().split()

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

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(1000000)
 
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:
# -*- coding: utf-8 -*-

[A, B] = [int(i) for i in 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())
pay = 0
if a>=13:
    pay = b
elif a>=6:
    pay = b//2
print(pay)

Submission status: Accepted

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

Submission status: Accepted

Solution code:

lst_1 = input().split()

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

if (A >= 6) and (A <= 12):

    B = int(B/2)

elif A < 6:

    B = int(0)

print(B)

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

print(int(B))

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:
H,W = map(int,input().split(' '))
if H>=13:
    print(W)
elif H>=6:
    print(int(W/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:
import sys

A, B = input().split()

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin
A,B=[int(x) for x in stdin.readline().rstrip().split()]
ans = 0
if A >= 13:
    ans = B
elif A >= 6:
    ans = B / 2
else:
    ans = 0
print(int(ans))

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

Submission status: Accepted

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

"""
2019年5月25日の AtCoder Beginnar Contest
"""


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

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:
p = input().split()
a,b = int(p[0]), int(p[1])
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)
else:
 if A > 5:
  print(int(B/2))
 else:
  print(0)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = input().split()
a = int(n[0])
b = int(n[1])
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:

def main():
    A, B = map(int, input().split())

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

    elif 6 <= A and A <= 12:
        print("{}".format(B//2))

    else:
        print("{}".format(B))


if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

en = 0
if a[0] >= 13:
    en = a[1]
elif a[0] <= 5:
    en = 0
else:
    en = a[1]//2
int(en)

print(en)

Submission status: Accepted

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

Submission status: Accepted

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

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

print(ret)

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(b)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

print(ans)

Submission status: Accepted

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: 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:
# coding: utf-8

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

print(p)