defmodule Main do def main do IO.read(:line) |> String.trim() |> String.split() |> Enum.map(&String.to_integer(&1)) |> (fn [a, b] -> cond do rem(b, a) == 0 -> (b / a) |> trunc true -> "NO" end end).() |> IO.puts() end end