a = gets.not_nil!.to_i b = gets.not_nil!.to_i if (b // a) * a < b puts b // a + 1 else puts b // a end