import java.util.*;

public class Main {

    public static void main(String[] args) {

        Scanner input = new Scanner(System.in);

        int sum = input.nextInt() * input.nextInt();
        int taxi = input.nextInt();

        if (sum <= taxi) {
            System.out.println(sum);
        } else
            System.out.println(taxi);

        input.close();
    }
} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {

        Scanner input = new Scanner(System.in);

        int sum = input.nextInt() * input.nextInt();
        int taxi = input.nextInt();

        if (sum <= taxi) {
            System.out.println(sum);
        } else
            System.out.println(taxi);

        input.close();
    }
} Main public static void main(String[] args) {

        Scanner input = new Scanner(System.in);

        int sum = input.nextInt() * input.nextInt();
        int taxi = input.nextInt();

        if (sum <= taxi) {
            System.out.println(sum);
        } else
            System.out.println(taxi);

        input.close();
    } main {

        Scanner input = new Scanner(System.in);

        int sum = input.nextInt() * input.nextInt();
        int taxi = input.nextInt();

        if (sum <= taxi) {
            System.out.println(sum);
        } else
            System.out.println(taxi);

        input.close();
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) int sum = input.nextInt() * input.nextInt(); sum input.nextInt() * input.nextInt() input.nextInt() input.nextInt input input.nextInt() input.nextInt input int taxi = input.nextInt(); taxi input.nextInt() input.nextInt input if (sum <= taxi) {
            System.out.println(sum);
        } else
            System.out.println(taxi); sum <= taxi sum taxi {
            System.out.println(sum);
        } System.out.println(sum) System.out.println System.out System System.out sum System.out.println(taxi) System.out.println System.out System System.out taxi input.close() input.close input String[] args args public class Main {

    public static void main(String[] args) {

        Scanner input = new Scanner(System.in);

        int sum = input.nextInt() * input.nextInt();
        int taxi = input.nextInt();

        if (sum <= taxi) {
            System.out.println(sum);
        } else
            System.out.println(taxi);

        input.close();
    }
} public class Main {

    public static void main(String[] args) {

        Scanner input = new Scanner(System.in);

        int sum = input.nextInt() * input.nextInt();
        int taxi = input.nextInt();

        if (sum <= taxi) {
            System.out.println(sum);
        } else
            System.out.println(taxi);

        input.close();
    }
} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {

        Scanner input = new Scanner(System.in);

        int sum = input.nextInt() * input.nextInt();
        int taxi = input.nextInt();

        if (sum <= taxi) {
            System.out.println(sum);
        } else
            System.out.println(taxi);

        input.close();
    }
}