import java.util.*;
import static java.lang.System.*;
public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int pNum = sc.nextInt();
        int trainm = sc.nextInt();
        int carm = sc.nextInt();
        int trSum = pNum * trainm;
        if(trSum < carm){
            //電車の代金を出力
            out.println(trSum);
        } else {
            //同じ場合も入っている
            out.println(carm);
        }
        
    }
} import java.util.*; util.* java import static java.lang.System.*; import static java.lang.System.*; import static java.lang.System.*; public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int pNum = sc.nextInt();
        int trainm = sc.nextInt();
        int carm = sc.nextInt();
        int trSum = pNum * trainm;
        if(trSum < carm){
            //電車の代金を出力
            out.println(trSum);
        } else {
            //同じ場合も入っている
            out.println(carm);
        }
        
    }
} Main public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int pNum = sc.nextInt();
        int trainm = sc.nextInt();
        int carm = sc.nextInt();
        int trSum = pNum * trainm;
        if(trSum < carm){
            //電車の代金を出力
            out.println(trSum);
        } else {
            //同じ場合も入っている
            out.println(carm);
        }
        
    } main {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int pNum = sc.nextInt();
        int trainm = sc.nextInt();
        int carm = sc.nextInt();
        int trSum = pNum * trainm;
        if(trSum < carm){
            //電車の代金を出力
            out.println(trSum);
        } else {
            //同じ場合も入っている
            out.println(carm);
        }
        
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int pNum = sc.nextInt(); pNum sc.nextInt() sc.nextInt sc int trainm = sc.nextInt(); trainm sc.nextInt() sc.nextInt sc int carm = sc.nextInt(); carm sc.nextInt() sc.nextInt sc int trSum = pNum * trainm; trSum pNum * trainm pNum trainm if(trSum < carm){
            //電車の代金を出力
            out.println(trSum);
        } else {
            //同じ場合も入っている
            out.println(carm);
        } trSum < carm trSum carm {
            //電車の代金を出力
            out.println(trSum);
        } out.println(trSum) out.println out trSum {
            //同じ場合も入っている
            out.println(carm);
        } out.println(carm) out.println out carm String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int pNum = sc.nextInt();
        int trainm = sc.nextInt();
        int carm = sc.nextInt();
        int trSum = pNum * trainm;
        if(trSum < carm){
            //電車の代金を出力
            out.println(trSum);
        } else {
            //同じ場合も入っている
            out.println(carm);
        }
        
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int pNum = sc.nextInt();
        int trainm = sc.nextInt();
        int carm = sc.nextInt();
        int trSum = pNum * trainm;
        if(trSum < carm){
            //電車の代金を出力
            out.println(trSum);
        } else {
            //同じ場合も入っている
            out.println(carm);
        }
        
    }
} Main
import java.util.*;
import static java.lang.System.*;
public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int pNum = sc.nextInt();
        int trainm = sc.nextInt();
        int carm = sc.nextInt();
        int trSum = pNum * trainm;
        if(trSum < carm){
            //電車の代金を出力
            out.println(trSum);
        } else {
            //同じ場合も入っている
            out.println(carm);
        }
        
    }
}