#複数の値をスペースで繋いで受け取る時のテンプレ
func readInts() -> [Int] {
    return readLine()!.split(separator: " ").map { Int($0)! }
    
let nab = readInts()
let n = nab[0]
let a = nab[1]
let b = nab[2]
＃ここまでテンプレ
print(min(b,n*a))
    
    