import java.util.*;
import java.math.*;

public class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
        String str = sc.nextLine().trim();
        sc.close();
        String[] strArr = str.split(" ");
        int n = Integer.parseInt(strArr[0]);
        int a = Integer.parseInt(strArr[1]);
        int b = Integer.parseInt(strArr[2]);
        int train = n * a;
        if(train < b){
            System.out.println(train);
        }else{
            System.out.println(b);
        }
	}
} import java.util.*; util.* java import java.math.*; math.* java public class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
        String str = sc.nextLine().trim();
        sc.close();
        String[] strArr = str.split(" ");
        int n = Integer.parseInt(strArr[0]);
        int a = Integer.parseInt(strArr[1]);
        int b = Integer.parseInt(strArr[2]);
        int train = n * a;
        if(train < b){
            System.out.println(train);
        }else{
            System.out.println(b);
        }
	}
} Main public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
        String str = sc.nextLine().trim();
        sc.close();
        String[] strArr = str.split(" ");
        int n = Integer.parseInt(strArr[0]);
        int a = Integer.parseInt(strArr[1]);
        int b = Integer.parseInt(strArr[2]);
        int train = n * a;
        if(train < b){
            System.out.println(train);
        }else{
            System.out.println(b);
        }
	} main {
		Scanner sc = new Scanner(System.in);
        String str = sc.nextLine().trim();
        sc.close();
        String[] strArr = str.split(" ");
        int n = Integer.parseInt(strArr[0]);
        int a = Integer.parseInt(strArr[1]);
        int b = Integer.parseInt(strArr[2]);
        int train = n * a;
        if(train < b){
            System.out.println(train);
        }else{
            System.out.println(b);
        }
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String str = sc.nextLine().trim(); str sc.nextLine().trim() sc.nextLine().trim sc.nextLine() sc.nextLine sc sc.close() sc.close sc String[] strArr = str.split(" "); strArr str.split(" ") str.split str " " int n = Integer.parseInt(strArr[0]); n Integer.parseInt(strArr[0]) Integer.parseInt Integer strArr[0] strArr 0 int a = Integer.parseInt(strArr[1]); a Integer.parseInt(strArr[1]) Integer.parseInt Integer strArr[1] strArr 1 int b = Integer.parseInt(strArr[2]); b Integer.parseInt(strArr[2]) Integer.parseInt Integer strArr[2] strArr 2 int train = n * a; train n * a n a if(train < b){
            System.out.println(train);
        }else{
            System.out.println(b);
        } train < b train b {
            System.out.println(train);
        } System.out.println(train) System.out.println System.out System System.out train {
            System.out.println(b);
        } System.out.println(b) System.out.println System.out System System.out b String args[] args public class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
        String str = sc.nextLine().trim();
        sc.close();
        String[] strArr = str.split(" ");
        int n = Integer.parseInt(strArr[0]);
        int a = Integer.parseInt(strArr[1]);
        int b = Integer.parseInt(strArr[2]);
        int train = n * a;
        if(train < b){
            System.out.println(train);
        }else{
            System.out.println(b);
        }
	}
} public class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
        String str = sc.nextLine().trim();
        sc.close();
        String[] strArr = str.split(" ");
        int n = Integer.parseInt(strArr[0]);
        int a = Integer.parseInt(strArr[1]);
        int b = Integer.parseInt(strArr[2]);
        int train = n * a;
        if(train < b){
            System.out.println(train);
        }else{
            System.out.println(b);
        }
	}
} Main
import java.util.*;
import java.math.*;

public class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
        String str = sc.nextLine().trim();
        sc.close();
        String[] strArr = str.split(" ");
        int n = Integer.parseInt(strArr[0]);
        int a = Integer.parseInt(strArr[1]);
        int b = Integer.parseInt(strArr[2]);
        int train = n * a;
        if(train < b){
            System.out.println(train);
        }else{
            System.out.println(b);
        }
	}
}