import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

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

        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        if(a*b<=c){
            System.out.println(a*b);
        }else{
            System.out.println(c);
        }
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        if(a*b<=c){
            System.out.println(a*b);
        }else{
            System.out.println(c);
        }
    } main {
        Scanner scan = new Scanner(System.in);

        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        if(a*b<=c){
            System.out.println(a*b);
        }else{
            System.out.println(c);
        }
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan if(a*b<=c){
            System.out.println(a*b);
        }else{
            System.out.println(c);
        } a*b<=c a*b a b c {
            System.out.println(a*b);
        } System.out.println(a*b) System.out.println System.out System System.out a*b a b {
            System.out.println(c);
        } System.out.println(c) System.out.println System.out System System.out c String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        if(a*b<=c){
            System.out.println(a*b);
        }else{
            System.out.println(c);
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        if(a*b<=c){
            System.out.println(a*b);
        }else{
            System.out.println(c);
        }
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        if(a*b<=c){
            System.out.println(a*b);
        }else{
            System.out.println(c);
        }
    }
}