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

A=int(A)
B=int(B)

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def years():
  A=list(map(int,input().split()))
  c=0
  a=A[0]
  b=A[1]
  
  if b<2 or (b%2!=0):
    return
  
  
  if a>=13:
    print(b)
    
  if a<=6 and a>=12:
    print(b/2)
    
  if a<=5:
    print(c)
    
    
if __name__=="__main__":
  years()

Submission status: Wrong Answer

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


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
def years():
  A=list(map(int,input().split()))
  c=0
  a=A[0]
  b=A[1]
  
  if b<2 or (b%2!=0):
    return
  
  
  if a>=13:
    print(b)
    
  if a<=6 and a>=12:
    print(b/2)
    
  if a<=5:
    print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
age = 10
fee = 1000

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

else:
	print(0)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
     
if __name__ == '__main__':
  a, b = map(int, input().split())
      
  if a >= 13:
    c = b
  elif 6 >= a >= b:
    c = 0.5 * b
  else:
    c = 0
      
  print(str(c))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


if 0<=a<=5:
    
    print(0)
    
elif 6<=a<=13:

    print(int(b/2))

elif 13<=a<=100:
    print(b)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

print(cost)

Submission status: Wrong Answer

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

Solution code:
def years():
  A=list(map(int,input().split()))
  c=0
  a=A[0]
  b=A[1]
  
  if b%2!=0 or a<0:
    return
  
  
  if a>=13:
    print(b)
    
  if a<=6 and a>=12:
    print(b/2)
    
  if a<=5:
    print(c)

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=(int(x) for x in input().split())

if 6<=a<=13:

    print(int(b/2))

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

elif 13<=a<=100:
    print(b)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def years():
  A=list(map(int,input().split()))
  c=0
  a=A[0]
  b=A[1]
  
  if b%2==0 or a<0:
    return
  
  
  if a>=13:
    print(b)
    
  if a<=6 and a>=12:
    print(b/2)
    
  if a<=5:
    print(c)
    
    
if __name__=="__main__":
  years()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
age = 12
fee = 1000

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if __name__ == '__main__':
  a, b = map(int, input().split())
  
  if a >= 13:
    c = b
  elif 6 >= a >= b:
    c = 0.5 * b
  else:
    c = 0
  
  print(c)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
x = list(map(int, input().split()))
year = x[0]
money = x[1]
if year >= 13:
         print(money)
elif 12 >= year >= 6:
         print(money / 2)
else :
         print(0)

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b = map(int, input().split())
amount = 0
if a < 5:
    amount = 0
elif a >= 6 and a <= 12:
    amount += int(b*0.5)
else:
    amount += b
print(amount)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

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

# 出力
print("{}".format(c))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num = input().split()
x = int(num[0])
y = int(num[1])

if 6 <= x <= 12:
    y = y/2
elif x <= 5:
    y = 0

print(y)

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:
def years():
  A=list(map(int,input().split()))
  c=0
  a=A[0]
  b=A[1]
  
  if a>=13:
    print(b)
    
  if a<=6 and a>=12:
    print(b/2)
    
  if a<=5:
    print(c)
    
    
if __name__=="__main__":
  years()

Submission status: Wrong Answer

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

a = A[0]
b = A[1]

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

print(X)

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

Submission status: Wrong Answer

Solution code:
num1, num2= [int(i) for i in input().split()]
if num1>=13:
  print(str(num2))
elif num1>=6:
  print(str(num2/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 (-1<a<6):
  print(0)
if (5<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 <= 12:
  print(B/2)
else:
  print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

print(result)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

print(X)

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

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)
elif A >= 13:
    print(B)

Submission status: Wrong Answer

Solution code:
x, y = list(map(int, input().split()))
if x < 6:
    print('0')
if 6 <= x <= 12:
    print('{:.0f}'.format(y/2))
else:
    print(y)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num1, num2= [int(i) for i in input().split()]
if num1>12:
  print(str(num2))
elif num1>5:
  print(str(num2/2))
else:
  print('0')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if a >= 13:
    print(b)

if a >= 6 and a >= 12:
    c = b / 2
    print(round(c))

if a < 5:
    print("0")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if 0<=a<=13:

    print(int(b/2))

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
istr=input()
a,b=istr.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 = (int(i) for i in input().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import sys;
sys.setrecursionlimit(20000) # 再起呼び出しの最大数をセット

# 整数の入力
#n = int(input())

# スペース区切りの整数の入力
a = [x for x in map(int, input().split())]
#n, y = map(int, input().split())

# 改行区切りの整数の入力
#a = []
#for x in range(n):
#  a.append(int(input()))

# 文字列の入力
#s = input()

# 出力
#print("{} {}".format(a+b+c, s))
#a.sort()
#print(set(a), file=sys.stderr)
print(a, file=sys.stderr)

#surfixes = ("dream", "dreamer", "erase", "eraser")

def doit(l):
  #print(s, file=sys.stderr)
  if l == 0:
    return True;
  for x in surfixes:
    if s[:l].endswith(x):
#      return doit(l-len(x))
      if doit(l-len(x)):
        return True
  return False

try:
  if a[0] > 12:
    print("" + a[1])
  elif a[0] > 5:
    print("" + (a[1]/2))
  else:
    print("0")
except Exception as e:
  print(e, file=sys.stderr)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if 0<=a<=13:

    print(b/2)

elif 13<=a<=100:
    print(b)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if a >= 6 and a >= 12:
    c = b / 2
    print(round(c))

if a < 5:
    print("0")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

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

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x, y = list(map(int, input().split()))
if x < 6:
    print('0')
if 6 <= x <= 12:
    print(y/2)
else:
    print(y)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
X = input().split()
if int(X[0])>=13:
  print(X[1])
elif 12>int(X[0])>=6:
  n = int(X[1])/2
  s = int(n)
  print(s)
else:
  print("0")

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
elif A <= 5:
	X = 0

print(X)

Submission status: Wrong Answer

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

import sys

debug = False

def log(text):
    if debug:
        print(text)

def parse_input(lines_as_string = None):

    global debug
    lines = []
    if lines_as_string is None:
        debug = False
        lines.append(input())
    else:
        debug = True
        lines = [e for e in lines_as_string.split("\n")][1:-1]


    token = lines[0].split()
    a = int(token[0])
    b = int(token[1])

    return (a, b)


def solve(a, b):

    if 13 <= a:
        result = b
    elif 6 <= a and a <= 12:
        result = b/2
    else:
        result = 0
        
    return result




def main():
    # 出力

    print("%s" % solve(*parse_input()))

if __name__ == '__main__':

    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l = input().split()
age = int(l[0])
cost = int(l[1])

if age <= 12 and age >= 6:
    print(cost/2)

elif age <= 5:
    print(0)

else:
    print(cost)

Submission status: Wrong Answer

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

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

print(ans)

Submission status: Wrong Answer

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

print(res)

Submission status: Wrong Answer

Solution code:
data = [int(s) for s in  input().split()]

if data[0] >= 13:
    print(data[1])
elif data[0] >= 6:
    print(data[1]/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 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(int(B))
elif 6 <= A and A < 12:
    print(int(B/2))
elif A < 6:
    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(" "))

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

Submission status: Wrong Answer

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

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:
x = input()
li = x.split()
age = int(li[0])
m = int(li[1])
if(age <= 5):
  print("0")
elif(age <= 12):
  print(m / 2)
else:
  print(m)

Submission status: Wrong Answer

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

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

if not 0 <= A <= 100:
    exit(0)

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

if not B % 2 == 0:
    exit(0)

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

print(B)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import sys;
sys.setrecursionlimit(20000) # 再起呼び出しの最大数をセット

# 整数の入力
#n = int(input())

# スペース区切りの整数の入力
a = [x for x in map(int, input().split())]
#n, y = map(int, input().split())

# 改行区切りの整数の入力
#a = []
#for x in range(n):
#  a.append(int(input()))

# 文字列の入力
#s = input()

# 出力
#print("{} {}".format(a+b+c, s))
#a.sort()
#print(set(a), file=sys.stderr)
#print(len(set(a)))

surfixes = ("dream", "dreamer", "erase", "eraser")

def doit(l):
  #print(s, file=sys.stderr)
  if l == 0:
    return True;
  for x in surfixes:
    if s[:l].endswith(x):
#      return doit(l-len(x))
      if doit(l-len(x)):
        return True
  return False

try:
  if a[0] > 12:
    print("" + [a1])
  elif a[0] > 5:
    print("" + ([a1]/2))
  else:
    print("0")
except Exception as e:
  print(e, file=sys.stderr)

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:
def main():
    A, B = map(int, input().split())
    price = 0
    if 13 <= A:
        price = B
    elif 6 <= A and A <= 13:
        price = B/2
    elif A <= 5:
        price = 0
    print(price)
main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

def placingMarbles(input_str):
    vals = input_str.split(" ")
    A = int(vals[0])
    B = int(vals[1])
    if A > 13:
        return int(B)
    elif 6 <= A and A<=12:
        return int(B / 2)
    else:
        return 0

if __name__ == "__main__":
    print(placingMarbles(input()))

Submission status: Wrong Answer

Solution code:
data = [int(s) for s in  input().split()]

if data[1] >= 13:
    print(data[0])
elif data[1] >= 6:
    print(data[0]/2)
else:
    print(0)

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
x = input()
li = x.split()
age = int(li[0])
m = int(li[1])
if(age <= 5):
  print(0)
elif(age <= 12):
  print(m / 2)
else:
  print(m)

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

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

print(X)

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if a >= 6 and a >= 12:
    c = b / 2
    print(c)

if a < 5:
    print("0")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
x=input()
xx=x.split()
a=int(xx[0])
b=int(xx[1])
if a>=13:
  print(b)
elif a>=6 and a<13:
  print(b/2)
else:
  print(0)

Submission status: Wrong Answer

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

if A <= 5:
    print(0)
elif 6 <= B <= 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
elif a <= 5:
    money = 0

print(money)