import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
			   
		int cntNums[] = new int[3];		 
		 
		for(int i = 0; i <= 2; i++){
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;    
		 
		}
		
		System.out.println(cntNums[0]*cntNums[1]<cntNums[2]? cntNums[0]*cntNums[1] : cntNums[2]);
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
			   
		int cntNums[] = new int[3];		 
		 
		for(int i = 0; i <= 2; i++){
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;    
		 
		}
		
		System.out.println(cntNums[0]*cntNums[1]<cntNums[2]? cntNums[0]*cntNums[1] : cntNums[2]);
	}

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

		Scanner sc = new Scanner(System.in);
			   
		int cntNums[] = new int[3];		 
		 
		for(int i = 0; i <= 2; i++){
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;    
		 
		}
		
		System.out.println(cntNums[0]*cntNums[1]<cntNums[2]? cntNums[0]*cntNums[1] : cntNums[2]);
	} main {

		Scanner sc = new Scanner(System.in);
			   
		int cntNums[] = new int[3];		 
		 
		for(int i = 0; i <= 2; i++){
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;    
		 
		}
		
		System.out.println(cntNums[0]*cntNums[1]<cntNums[2]? cntNums[0]*cntNums[1] : cntNums[2]);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int cntNums[] = new int[3]; cntNums new int[3] 3 for(int i = 0; i <= 2; i++){
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;    
		 
		} int i = 0; int i = 0; i 0 i <= 2 i 2 i++ i++ i {
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;    
		 
		} {
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;    
		 
		} int inputNums = sc.nextInt(); inputNums sc.nextInt() sc.nextInt sc cntNums[i] = inputNums cntNums[i] cntNums i inputNums System.out.println(cntNums[0]*cntNums[1]<cntNums[2]? cntNums[0]*cntNums[1] : cntNums[2]) System.out.println System.out System System.out cntNums[0]*cntNums[1]<cntNums[2]? cntNums[0]*cntNums[1] : cntNums[2] cntNums[0]*cntNums[1]<cntNums[2] cntNums[0]*cntNums[1] cntNums[0] cntNums 0 cntNums[1] cntNums 1 cntNums[2] cntNums 2 cntNums[0]*cntNums[1] cntNums[0] cntNums 0 cntNums[1] cntNums 1 cntNums[2] cntNums 2 String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
			   
		int cntNums[] = new int[3];		 
		 
		for(int i = 0; i <= 2; i++){
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;    
		 
		}
		
		System.out.println(cntNums[0]*cntNums[1]<cntNums[2]? cntNums[0]*cntNums[1] : cntNums[2]);
	}

} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
			   
		int cntNums[] = new int[3];		 
		 
		for(int i = 0; i <= 2; i++){
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;    
		 
		}
		
		System.out.println(cntNums[0]*cntNums[1]<cntNums[2]? cntNums[0]*cntNums[1] : cntNums[2]);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
			   
		int cntNums[] = new int[3];		 
		 
		for(int i = 0; i <= 2; i++){
		    
			int inputNums = sc.nextInt();
		    cntNums[i] = inputNums;    
		 
		}
		
		System.out.println(cntNums[0]*cntNums[1]<cntNums[2]? cntNums[0]*cntNums[1] : cntNums[2]);
	}

}