x,y = (map(int,input().strip().split())) if x%y == 0: print(y/x) else: print(int(y/x + x))