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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:


v = [int(d) for d in input().split()]

if v[0] <= 12:
    if v[0] >= 6:
        print(v[1]/2)
        exit()
if v[0] <= 5:
    print('0')
    exit()
if v[0] >= 13:
    print(v[1])
    exit()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if A<6:
  print(zero)
elif A<13:
  print(B/2)
else:
  print(B)

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
n,ans=map(int,input().split(" "))
if(n<=12):
    ans/=2
if(n<6):
    ans/=2
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if a <= 5:
	res = 0
elif a >5 & a <= 12:
	res = b/2
else:
	res = b

print(b)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
def main():
    A,B = map(int,input().split())
    if 6<=A<=12:
        B = B/2
    elif 5>=B:
        B = 0
    print(int(B))
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = list(map(int,input().split()))
def f(s):
    if s[0] >= 13:
        return s[1]
    elif s[0] >= 6:
        return int(s[1]/2)
    else:
        return 0
f(s)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(X)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a = int(i[0])
b = int(i[1])

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

Submission status: Wrong Answer

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

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

if A <= 5:
    B = 0
elif 5 < A <= 12:
    B /= 2

print(B)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
print('A')

Submission status: Wrong Answer

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

# スペース区切りの整数の入力
A, B = map(int, input().split())

fare = 0

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

if A <= 5:
  print(0)
elif A <= 12:
  print(50)
else:
  print(B)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
a, b = map(int, input().split())
c = 0
if a <= 5:
    print(0)
elif a > 5 & a <=12:
    print(b/2)
else:
    print(b)

Submission status: Wrong Answer

Solution code:
# coding: utf-8
x,y = map(int, input().split())
if x <= 5:
    print(0)
elif x <=12:
    print(y/2)
else:
    print(y)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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:
# -*- coding: utf-8 -*-
def main():
    A,B = map(int,input().split())
    print(A,B)
    if 6<=A<=12:
        B = B/2
    elif 5>=B:
        B = 0
    print(int(B))
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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

if not 0 <= A <= 100 or 2 <= B <= 1000:
    exit(0)

if A <= 5:
    B = 0
elif 5 < A <= 12:
    B /= 2

print(B)

Submission status: Wrong Answer

Solution code:
def run(A, B):
    if A >= 13:
        fee = B
    elif A >= 6:
        fee = B / 2
    else:
        fee = 0
    return fee


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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# n=int(input())  #数値入力 「N」だけの入力のとき
# a,b=map(int, input().split())  #複数数値入力　「A B」みたいなスペース空いた入力のとき
# c=list(map(int, input().split()))  #リスト入力 「a1 a2 a3 ...」みたいな配列のような入力のとき
# s=[list(map(int,list(input()))) for i in range(h)]  # 二次元配列入力　二次元マップみたいな入力のとき

# a=100
# b=0.987654321
# print('{0:06d}-{1:6f}'.format(a,b))  # 0埋めのときの出力
# 000100-0.987654

import math
import copy

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

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

Submission status: Wrong Answer

Solution code:
A,B = (int(i) for i in 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 <= 5:
  print(0)
elif A >=13:
  print(str(B))
else:
  print(str(B/2))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

inputs = input().split(' ')
age = int(inputs[0])
fee = int(inputs[1])

if age <= 5:
    print(0)
elif age <= 12:
    print(fee/2)
else:
    print(fee)

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:
d = input().split(" ")
A = int(d[0])
B = int(d[1])

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

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

Submission status: Wrong Answer

Solution code:
# n=int(input())  #数値入力 「N」だけの入力のとき
# a,b=map(int, input().split())  #複数数値入力　「A B」みたいなスペース空いた入力のとき
# c=list(map(int, input().split()))  #リスト入力 「a1 a2 a3 ...」みたいな配列のような入力のとき
# s=[list(map(int,list(input()))) for i in range(h)]  # 二次元配列入力　二次元マップみたいな入力のとき

# a=100
# b=0.987654321
# print('{0:06d}-{1:6f}'.format(a,b))  # 0埋めのときの出力
# 000100-0.987654

import math
import copy

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(ans)

Submission status: Wrong Answer

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
# coding: utf-8
x,y = map(int, input().split())
if x <= 5:
    print(0)
elif x <=12:
    print(y/2)
else:
    print(x)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

print(f)

Submission status: Wrong Answer

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

main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Solution code:
# -*- coding: utf-8 -*-
a, b = map(int, input().split())
money = 0

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

print(money)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
import re
import bisect
from datetime import datetime as dt
A, B = map(int, input().split())
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)
else:
	if A<=12 & A>=6:
		print(int(B/2))
	else:
		if A<6:
			print(0)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if age <= 5:
    print(ans)
elif age >= 6 and age <= 12:
    ans = price // 2
else:
    ans = price 

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math
import itertools


def makeIntMatrix(lines):
    intMatrix = []
    for a in makeStringMatrix(lines):
        intMatrix.append([int(b) for b in a])
    return intMatrix
 
 
def makeStringMatrix(lines):
    stringMatrix = [line.split() for line in lines]
    return stringMatrix
 
 
def makeInt(line):
    return int(line.rstrip())
 
 
def makeMultiInteger(line):
    return [int(x) for x in line.rstrip().split()]


def solve(input_string):
    a, B = makeMultiInteger(input_string[0])
    #print(a, b, c)
    if a >= 13:
        return B
    elif a >= 6 and a < 13:
        return B/2
    else:
        return 0


def main():
    input_lines = stdin.readlines()
    answer = solve(input_lines)
    print(answer)


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

if(a <= 5):
    print(0)

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

else:
    print(b)

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

A,B=map(int,input().split())
ans=0
if A<=5:
    ans=0
elif A>=6 and A<=12:
    ans=B/2
else:
    ans=B

print(ans)

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

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

ans = 0

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

Submission status: Wrong Answer

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

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

if 13 <= A :
    print(B)

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

Submission status: Wrong Answer

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

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

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

if A <= 5:
    B = 0
elif 5 < A < 12:
    B /= 2

print(B)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

print(int(P))

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:
  cost = B
elif A>=6 and A<=12:
  cost = B/2
else:
  cost = 0
print("{}".format(cost))

Submission status: Wrong Answer

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

print(ans)

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
ss=input().split(' ')
A=int(ss[0])
B=int(ss[1])
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 < 5:
  print(0)
elif 6 <= a < 13:
  print(b//2)
else:
  print(b)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

A, B = input().split()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if 6 <= a < 13:
    b = int(b/2)

print(b)

Submission status: Wrong Answer

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

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

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# n=int(input())  #数値入力 「N」だけの入力のとき
# a,b=map(int, input().split())  #複数数値入力　「A B」みたいなスペース空いた入力のとき
# c=list(map(int, input().split()))  #リスト入力 「a1 a2 a3 ...」みたいな配列のような入力のとき
# s=[list(map(int,list(input()))) for i in range(h)]  # 二次元配列入力　二次元マップみたいな入力のとき

# a=100
# b=0.987654321
# print('{0:06d}-{1:6f}'.format(a,b))  # 0埋めのときの出力
# 000100-0.987654

import math
import copy

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

Submission status: Wrong Answer

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

if a >=13:
  print(b)
elif a>=6:
  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:
def i_input(): return int(input())
def s_input(): return map(int,input().split())
def l_input(): return list(map(int, input().split()))

A, B = s_input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

if(a <= 5):
    b = 0

print(b)

Submission status: Wrong Answer

Solution code:
A,B = [int(x) for x in 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:
from sys import stdin
data = stdin.readline().rstrip().split()
A,B = int(data[0]), int(data[1])

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if A <= 6:
    print(0)
    exit()

if A <= 12:
    print(int(B/2))
    exit()

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(c)

Submission status: Wrong Answer

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

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


if __name__ == '__main__':
    main()