line = gets a, b = line.not_nil!.split.map(&.to_i) puts (b + a - 1) // a