def walk(a, b): c = (b + a // 2) // a return c a, b = map(int, input().split()) print(walk(a, b))