object Main extends App {


  val arr: Array[Int] = readLine().split(" ").map(_.toInt)
  val n = arr(0)
  val a = arr(1)
  val b = arr(2)

  def solution(n: Int, a: Int, b:Int) = {
    Math.min(n*a, b)
  }
  println(solution(n,a,b))



}