import java.util.*;
class Main{
public static void main(String[] args){

	Scanner s = new Scanner(System.in);
  	int a = s.nextInt() , b = s.nextInt() , c = s.nextInt();
  	System.out.println( (int)Math.min(a*b , c ));

	}
} import java.util.*; util.* java class Main{
public static void main(String[] args){

	Scanner s = new Scanner(System.in);
  	int a = s.nextInt() , b = s.nextInt() , c = s.nextInt();
  	System.out.println( (int)Math.min(a*b , c ));

	}
} Main public static void main(String[] args){

	Scanner s = new Scanner(System.in);
  	int a = s.nextInt() , b = s.nextInt() , c = s.nextInt();
  	System.out.println( (int)Math.min(a*b , c ));

	} main {

	Scanner s = new Scanner(System.in);
  	int a = s.nextInt() , b = s.nextInt() , c = s.nextInt();
  	System.out.println( (int)Math.min(a*b , c ));

	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int a = s.nextInt() a s.nextInt() s.nextInt s b = s.nextInt() b s.nextInt() s.nextInt s c = s.nextInt(); c s.nextInt() s.nextInt s System.out.println( (int)Math.min(a*b , c )) System.out.println System.out System System.out (int)Math.min(a*b , c ) Math.min Math a*b a b c String[] args args
import java.util.*;
class Main{
public static void main(String[] args){

	Scanner s = new Scanner(System.in);
  	int a = s.nextInt() , b = s.nextInt() , c = s.nextInt();
  	System.out.println( (int)Math.min(a*b , c ));

	}
}