main = getLine >>= print . nstep . map read . words nstep [a,b] = let (d,m) = divMod b a in d + min 1 m