program main

  implicit none

  integer :: n, a, b

  read ( unit = *, fmt = * ) n, a, b

  if ( n * a < b ) then

     print '(i0)', n * a

  else

     print '(i0)', b

  end if
  
end program main
