import java.util.*;
import java.io.*;

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

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

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

        System.out.println(Math.min(N * in.nextInt(), in.nextInt()));
    } main {
        Scanner in = new Scanner(System.in);
        int N = in.nextInt();

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

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

        System.out.println(Math.min(N * in.nextInt(), in.nextInt()));
    }
} Main
import java.util.*;
import java.io.*;

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

        System.out.println(Math.min(N * in.nextInt(), in.nextInt()));
    }
}