function Main(input){
  input = input.split("\n");
  inputStr = input[0].split(" ");
  var N = Number.parseInt(inputStr[0]);
  var A = Number.parseInt(inputStr[1]);
  var B = Number.parseInt(inputStr[2]) / N;
  //三項演算子を使って最も安い乗車賃Pを求める
  var P = ( A > B ? B : A);
  //Pに人数を掛けて答えを算出
  console.log(P*N);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));