defmodule Main do def main do [a, b] = IO.gets("") |> String.trim() |> String.split() |> Enum.map(fn s -> String.to_integer(s) end) rem(a * b, 1_000_000_007) |> IO.puts() end end