a,b = map(int,input().split()) if b % 2 == 1: b += 1 print(b//a)