

import java.util.Scanner;

public class Main{
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		
		int mon=sc.nextInt();
		int taim=sc.nextInt();
		int mon2=sc.nextInt();
		
		if(mon*taim<mon2) {
			System.out.println(mon*taim);
		}else {
			System.out.println(mon2);
		}
	}
}
 import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		
		int mon=sc.nextInt();
		int taim=sc.nextInt();
		int mon2=sc.nextInt();
		
		if(mon*taim<mon2) {
			System.out.println(mon*taim);
		}else {
			System.out.println(mon2);
		}
	}
} Main public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		
		int mon=sc.nextInt();
		int taim=sc.nextInt();
		int mon2=sc.nextInt();
		
		if(mon*taim<mon2) {
			System.out.println(mon*taim);
		}else {
			System.out.println(mon2);
		}
	} main {
		Scanner sc=new Scanner(System.in);
		
		int mon=sc.nextInt();
		int taim=sc.nextInt();
		int mon2=sc.nextInt();
		
		if(mon*taim<mon2) {
			System.out.println(mon*taim);
		}else {
			System.out.println(mon2);
		}
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int mon=sc.nextInt(); mon sc.nextInt() sc.nextInt sc int taim=sc.nextInt(); taim sc.nextInt() sc.nextInt sc int mon2=sc.nextInt(); mon2 sc.nextInt() sc.nextInt sc if(mon*taim<mon2) {
			System.out.println(mon*taim);
		}else {
			System.out.println(mon2);
		} mon*taim<mon2 mon*taim mon taim mon2 {
			System.out.println(mon*taim);
		} System.out.println(mon*taim) System.out.println System.out System System.out mon*taim mon taim {
			System.out.println(mon2);
		} System.out.println(mon2) System.out.println System.out System System.out mon2 String[] args args public class Main{
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		
		int mon=sc.nextInt();
		int taim=sc.nextInt();
		int mon2=sc.nextInt();
		
		if(mon*taim<mon2) {
			System.out.println(mon*taim);
		}else {
			System.out.println(mon2);
		}
	}
} public class Main{
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		
		int mon=sc.nextInt();
		int taim=sc.nextInt();
		int mon2=sc.nextInt();
		
		if(mon*taim<mon2) {
			System.out.println(mon*taim);
		}else {
			System.out.println(mon2);
		}
	}
} Main


import java.util.Scanner;

public class Main{
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		
		int mon=sc.nextInt();
		int taim=sc.nextInt();
		int mon2=sc.nextInt();
		
		if(mon*taim<mon2) {
			System.out.println(mon*taim);
		}else {
			System.out.println(mon2);
		}
	}
}

