
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        final Scanner scanner = new Scanner(System.in);
        final int i = scanner.nextInt();
        final int j = scanner.nextInt();
        final int k = scanner.nextInt();

        System.out.println(Math.min(i * j, k));
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        final Scanner scanner = new Scanner(System.in);
        final int i = scanner.nextInt();
        final int j = scanner.nextInt();
        final int k = scanner.nextInt();

        System.out.println(Math.min(i * j, k));
    }
} Main public static void main(String[] args) {
        final Scanner scanner = new Scanner(System.in);
        final int i = scanner.nextInt();
        final int j = scanner.nextInt();
        final int k = scanner.nextInt();

        System.out.println(Math.min(i * j, k));
    } main {
        final Scanner scanner = new Scanner(System.in);
        final int i = scanner.nextInt();
        final int j = scanner.nextInt();
        final int k = scanner.nextInt();

        System.out.println(Math.min(i * j, k));
    } final Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) final int i = scanner.nextInt(); i scanner.nextInt() scanner.nextInt scanner final int j = scanner.nextInt(); j scanner.nextInt() scanner.nextInt scanner final int k = scanner.nextInt(); k scanner.nextInt() scanner.nextInt scanner System.out.println(Math.min(i * j, k)) System.out.println System.out System System.out Math.min(i * j, k) Math.min Math i * j i j k String[] args args public class Main {
    public static void main(String[] args) {
        final Scanner scanner = new Scanner(System.in);
        final int i = scanner.nextInt();
        final int j = scanner.nextInt();
        final int k = scanner.nextInt();

        System.out.println(Math.min(i * j, k));
    }
} public class Main {
    public static void main(String[] args) {
        final Scanner scanner = new Scanner(System.in);
        final int i = scanner.nextInt();
        final int j = scanner.nextInt();
        final int k = scanner.nextInt();

        System.out.println(Math.min(i * j, k));
    }
} Main

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        final Scanner scanner = new Scanner(System.in);
        final int i = scanner.nextInt();
        final int j = scanner.nextInt();
        final int k = scanner.nextInt();

        System.out.println(Math.min(i * j, k));
    }
}
