def solve(): a, b = map(int, input().split()) top = 10**9 + 1 btm = 0 while top - btm > 1: mid = (top + btm) // 2 if a * mid >= b: top = mid else: btm = mid ans = top print(ans) if __name__ == '__main__': solve()