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