defmodule Main do def nStep(step, goal), do: nStep(step, goal, 1) defp nStep(step, goal, acc) do cond do step * acc >= goal -> acc true -> nStep(step, goal, acc + 1) end end def main do inputs = IO.binread(:all) |> String.split [a, b] = inputs |> Enum.map(&(String.to_integer(&1))) IO.puts nStep(a, b) end end