function main(input) {
    const args = input.split(' ');
    var fee;
	var number = parseInt(args[0],10);
    var taxifee = parseInt(args[1],10);
   	var taxiAllFee = number * taxifee
    var trainAllfee = parseInt(args[2],10);
    
    if(taxiAllFee < trainAllfee){
      fee = taxiAllFee
    }else {
      fee = trainAllfee
    }
    
	console.log(fee = trainAllfee);
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));
