import java.util.Scanner;

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

        String sN = scan.next();
        String sA = scan.next();
        String sB = scan.next();

        int N = Integer.parseInt(sN);
        int A = Integer.parseInt(sA);
        int B = Integer.parseInt(sB);
        if( 1 <= N || N <= 20 ){
            int hogeo = N * A;
            if(hogeo < B){
                System.out.println(hogeo);
            }else{
                System.out.println(B);
            }
        }
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        String sN = scan.next();
        String sA = scan.next();
        String sB = scan.next();

        int N = Integer.parseInt(sN);
        int A = Integer.parseInt(sA);
        int B = Integer.parseInt(sB);
        if( 1 <= N || N <= 20 ){
            int hogeo = N * A;
            if(hogeo < B){
                System.out.println(hogeo);
            }else{
                System.out.println(B);
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        String sN = scan.next();
        String sA = scan.next();
        String sB = scan.next();

        int N = Integer.parseInt(sN);
        int A = Integer.parseInt(sA);
        int B = Integer.parseInt(sB);
        if( 1 <= N || N <= 20 ){
            int hogeo = N * A;
            if(hogeo < B){
                System.out.println(hogeo);
            }else{
                System.out.println(B);
            }
        }
    } main {
        Scanner scan = new Scanner(System.in);

        String sN = scan.next();
        String sA = scan.next();
        String sB = scan.next();

        int N = Integer.parseInt(sN);
        int A = Integer.parseInt(sA);
        int B = Integer.parseInt(sB);
        if( 1 <= N || N <= 20 ){
            int hogeo = N * A;
            if(hogeo < B){
                System.out.println(hogeo);
            }else{
                System.out.println(B);
            }
        }
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String sN = scan.next(); sN scan.next() scan.next scan String sA = scan.next(); sA scan.next() scan.next scan String sB = scan.next(); sB scan.next() scan.next scan int N = Integer.parseInt(sN); N Integer.parseInt(sN) Integer.parseInt Integer sN int A = Integer.parseInt(sA); A Integer.parseInt(sA) Integer.parseInt Integer sA int B = Integer.parseInt(sB); B Integer.parseInt(sB) Integer.parseInt Integer sB if( 1 <= N || N <= 20 ){
            int hogeo = N * A;
            if(hogeo < B){
                System.out.println(hogeo);
            }else{
                System.out.println(B);
            }
        } 1 <= N || N <= 20 1 <= N 1 N N <= 20 N 20 {
            int hogeo = N * A;
            if(hogeo < B){
                System.out.println(hogeo);
            }else{
                System.out.println(B);
            }
        } int hogeo = N * A; hogeo N * A N A if(hogeo < B){
                System.out.println(hogeo);
            }else{
                System.out.println(B);
            } hogeo < B hogeo B {
                System.out.println(hogeo);
            } System.out.println(hogeo) System.out.println System.out System System.out hogeo {
                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 scan = new Scanner(System.in);

        String sN = scan.next();
        String sA = scan.next();
        String sB = scan.next();

        int N = Integer.parseInt(sN);
        int A = Integer.parseInt(sA);
        int B = Integer.parseInt(sB);
        if( 1 <= N || N <= 20 ){
            int hogeo = N * A;
            if(hogeo < B){
                System.out.println(hogeo);
            }else{
                System.out.println(B);
            }
        }
    }
} public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        String sN = scan.next();
        String sA = scan.next();
        String sB = scan.next();

        int N = Integer.parseInt(sN);
        int A = Integer.parseInt(sA);
        int B = Integer.parseInt(sB);
        if( 1 <= N || N <= 20 ){
            int hogeo = N * A;
            if(hogeo < B){
                System.out.println(hogeo);
            }else{
                System.out.println(B);
            }
        }
    }
} Main
import java.util.Scanner;

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

        String sN = scan.next();
        String sA = scan.next();
        String sB = scan.next();

        int N = Integer.parseInt(sN);
        int A = Integer.parseInt(sA);
        int B = Integer.parseInt(sB);
        if( 1 <= N || N <= 20 ){
            int hogeo = N * A;
            if(hogeo < B){
                System.out.println(hogeo);
            }else{
                System.out.println(B);
            }
        }
    }
}