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

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

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

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

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

}
