import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int num = Integer.parseInt(in.next());
        int cofTrain = Integer.parseInt(in.next());
        int cofTaxi = Integer.parseInt(in.next());
        in.close();
        int ans = num * cofTrain < cofTaxi ? cofTrain * num : cofTaxi;
        System.out.println(ans);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int num = Integer.parseInt(in.next());
        int cofTrain = Integer.parseInt(in.next());
        int cofTaxi = Integer.parseInt(in.next());
        in.close();
        int ans = num * cofTrain < cofTaxi ? cofTrain * num : cofTaxi;
        System.out.println(ans);
    }
} Main public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int num = Integer.parseInt(in.next());
        int cofTrain = Integer.parseInt(in.next());
        int cofTaxi = Integer.parseInt(in.next());
        in.close();
        int ans = num * cofTrain < cofTaxi ? cofTrain * num : cofTaxi;
        System.out.println(ans);
    } main {
        Scanner in = new Scanner(System.in);
        int num = Integer.parseInt(in.next());
        int cofTrain = Integer.parseInt(in.next());
        int cofTaxi = Integer.parseInt(in.next());
        in.close();
        int ans = num * cofTrain < cofTaxi ? cofTrain * num : cofTaxi;
        System.out.println(ans);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int num = Integer.parseInt(in.next()); num Integer.parseInt(in.next()) Integer.parseInt Integer in.next() in.next in int cofTrain = Integer.parseInt(in.next()); cofTrain Integer.parseInt(in.next()) Integer.parseInt Integer in.next() in.next in int cofTaxi = Integer.parseInt(in.next()); cofTaxi Integer.parseInt(in.next()) Integer.parseInt Integer in.next() in.next in in.close() in.close in int ans = num * cofTrain < cofTaxi ? cofTrain * num : cofTaxi; ans num * cofTrain < cofTaxi ? cofTrain * num : cofTaxi num * cofTrain < cofTaxi num * cofTrain num cofTrain cofTaxi cofTrain * num cofTrain num cofTaxi System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int num = Integer.parseInt(in.next());
        int cofTrain = Integer.parseInt(in.next());
        int cofTaxi = Integer.parseInt(in.next());
        in.close();
        int ans = num * cofTrain < cofTaxi ? cofTrain * num : cofTaxi;
        System.out.println(ans);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int num = Integer.parseInt(in.next());
        int cofTrain = Integer.parseInt(in.next());
        int cofTaxi = Integer.parseInt(in.next());
        in.close();
        int ans = num * cofTrain < cofTaxi ? cofTrain * num : cofTaxi;
        System.out.println(ans);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int num = Integer.parseInt(in.next());
        int cofTrain = Integer.parseInt(in.next());
        int cofTaxi = Integer.parseInt(in.next());
        in.close();
        int ans = num * cofTrain < cofTaxi ? cofTrain * num : cofTaxi;
        System.out.println(ans);
    }
}
