defmodule Main do
  def main do
    [n, a, b] = IO.gets("") |> String.trim |> String.split
    n = String.to_integer(n)
    a = String.to_integer(a)
    b = String.to_integer(b)
    IO.puts(min(n * a, b))
  end
end
