import java.text.ParseException;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws ParseException {
		Scanner sc = new Scanner(System.in);
		int A=sc.nextInt()*sc.nextInt(),B=sc.nextInt();
		System.out.println(A>B?B:A);
	}
} import java.text.ParseException; ParseException java.text import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) throws ParseException {
		Scanner sc = new Scanner(System.in);
		int A=sc.nextInt()*sc.nextInt(),B=sc.nextInt();
		System.out.println(A>B?B:A);
	}
} Main public static void main(String[] args) throws ParseException {
		Scanner sc = new Scanner(System.in);
		int A=sc.nextInt()*sc.nextInt(),B=sc.nextInt();
		System.out.println(A>B?B:A);
	} main {
		Scanner sc = new Scanner(System.in);
		int A=sc.nextInt()*sc.nextInt(),B=sc.nextInt();
		System.out.println(A>B?B:A);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int A=sc.nextInt()*sc.nextInt() A sc.nextInt()*sc.nextInt() sc.nextInt() sc.nextInt sc sc.nextInt() sc.nextInt sc B=sc.nextInt(); B sc.nextInt() sc.nextInt sc System.out.println(A>B?B:A) System.out.println System.out System System.out A>B?B:A A>B A B B A String[] args args public class Main {
	public static void main(String[] args) throws ParseException {
		Scanner sc = new Scanner(System.in);
		int A=sc.nextInt()*sc.nextInt(),B=sc.nextInt();
		System.out.println(A>B?B:A);
	}
} public class Main {
	public static void main(String[] args) throws ParseException {
		Scanner sc = new Scanner(System.in);
		int A=sc.nextInt()*sc.nextInt(),B=sc.nextInt();
		System.out.println(A>B?B:A);
	}
} Main
import java.text.ParseException;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws ParseException {
		Scanner sc = new Scanner(System.in);
		int A=sc.nextInt()*sc.nextInt(),B=sc.nextInt();
		System.out.println(A>B?B:A);
	}
}
