defmodule Main do def main do [a, b] = IO.gets("") |> String.trim |> String.split |> Enum.map(fn str -> str <> ".0" end) |> Enum.map(&String.to_float(&1)) n = b/a |> Float.round |> Float.to_string |> String.trim(".0") |> String.to_integer IO.puts n end end