program main
integer :: x,y,z,m,n,i,j,k
integer,allocatable :: p(:),q(:),r(:)
character*16 :: a,b,c,d,e

read(*,*)n,x,y
if (n*x >= y) then
write(*,*)y
else 
write(*,*)n*x
end if

contains

end program main