
import java.io.PrintWriter
import java.lang.Math.min

fun solve(out: PrintWriter): Boolean = with(out) {
    val arg = readLine()!!.split(" ").map{it.toInt()}
    println(min(arg[1]*arg[0], arg[2]))
    return false
}

// with(PrintWriter(System.out))
// with(File("out.txt").printWriter())
// with(File(args[1]).printWriter())
fun main(args: Array<String>) = with(PrintWriter(System.out)){
//    System.setIn(File(args[0]).inputStream())
    while(solve(this));
    flush()
}