a,b = gets.split.map(&:to_i) i = 1 until a >= b b -= a i += 1 end puts i