const main = (inputs) => {
  var N = inputs[0].split("")[0]-0;
  var a = inputs[0].split("")[1]-0;
  var b = inputs[0].split("")[2]-0;
  console.log(Math.min(N*a,b));
}

main(require('fs').readFileSync('/dev/stdin', 'UTF-8').trim().split("\n"));
