'use strict'

function main(input) {
	input = input.split(/\n|\s/).map(v => ~~v)

	const ans = Math.min(input[0] * input[1], input[2])
	console.log(ans)
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'))
