#include<stdio.h>
int main()
{
   int n,a,b,c,min;
   scanf("%d %d %d",&n,&a,&b);

   c = a*b;
   if(c<b){
    min = c;
   }
   else if(b<c){
    min = b;
   }

   printf("%d\n",min);



    return 0;
}