def sol a,b if a <= b return 1 else if a % b == 0 return a / b else return sol(a,b + 1) end end end n,k = gets.split.map(&:to_i) p sol(n,k)