import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();

        int a = sc.nextInt();

        int sumTaxi = sc.nextInt();

        int sumTrain = n * a;

        if (sumTaxi < sumTrain) {
            System.out.println(sumTaxi);
        } else {
            System.out.println(sumTrain);
        }

    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();

        int a = sc.nextInt();

        int sumTaxi = sc.nextInt();

        int sumTrain = n * a;

        if (sumTaxi < sumTrain) {
            System.out.println(sumTaxi);
        } else {
            System.out.println(sumTrain);
        }

    }
} Main public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();

        int a = sc.nextInt();

        int sumTaxi = sc.nextInt();

        int sumTrain = n * a;

        if (sumTaxi < sumTrain) {
            System.out.println(sumTaxi);
        } else {
            System.out.println(sumTrain);
        }

    } main {

        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();

        int a = sc.nextInt();

        int sumTaxi = sc.nextInt();

        int sumTrain = n * a;

        if (sumTaxi < sumTrain) {
            System.out.println(sumTaxi);
        } else {
            System.out.println(sumTrain);
        }

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int sumTaxi = sc.nextInt(); sumTaxi sc.nextInt() sc.nextInt sc int sumTrain = n * a; sumTrain n * a n a if (sumTaxi < sumTrain) {
            System.out.println(sumTaxi);
        } else {
            System.out.println(sumTrain);
        } sumTaxi < sumTrain sumTaxi sumTrain {
            System.out.println(sumTaxi);
        } System.out.println(sumTaxi) System.out.println System.out System System.out sumTaxi {
            System.out.println(sumTrain);
        } System.out.println(sumTrain) System.out.println System.out System System.out sumTrain String[] args args public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();

        int a = sc.nextInt();

        int sumTaxi = sc.nextInt();

        int sumTrain = n * a;

        if (sumTaxi < sumTrain) {
            System.out.println(sumTaxi);
        } else {
            System.out.println(sumTrain);
        }

    }
} public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();

        int a = sc.nextInt();

        int sumTaxi = sc.nextInt();

        int sumTrain = n * a;

        if (sumTaxi < sumTrain) {
            System.out.println(sumTaxi);
        } else {
            System.out.println(sumTrain);
        }

    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();

        int a = sc.nextInt();

        int sumTaxi = sc.nextInt();

        int sumTrain = n * a;

        if (sumTaxi < sumTrain) {
            System.out.println(sumTaxi);
        } else {
            System.out.println(sumTrain);
        }

    }
}
