a,b=map(int,input().split())
print((b>>(a<13))*(a>5)) a,b=map(int,input().split()) a map(int,input().split()) map int input().split() ().split () input split b print((b>>(a<13))*(a>5)) print (b>>(a<13))*(a>5) b>>(a<13) b a<13 a 13 a>5 a 5 b=map(int,input().split()) map(int,input().split()) b a,b=map(int,input().split()) map(int,input().split()) a
a,b=map(int,input().split())
print((b>>(a<13))*(a>5))