import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next()); // 人数
        int a = Integer.parseInt(sc.next()); // 一人当たりの電車代
        int b = Integer.parseInt(sc.next()); // 人数分のタクシー代
        int answer = Math.min(a * n, b);
        System.out.println(answer);
        sc.close();
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next()); // 人数
        int a = Integer.parseInt(sc.next()); // 一人当たりの電車代
        int b = Integer.parseInt(sc.next()); // 人数分のタクシー代
        int answer = Math.min(a * n, b);
        System.out.println(answer);
        sc.close();
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next()); // 人数
        int a = Integer.parseInt(sc.next()); // 一人当たりの電車代
        int b = Integer.parseInt(sc.next()); // 人数分のタクシー代
        int answer = Math.min(a * n, b);
        System.out.println(answer);
        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next()); // 人数
        int a = Integer.parseInt(sc.next()); // 一人当たりの電車代
        int b = Integer.parseInt(sc.next()); // 人数分のタクシー代
        int answer = Math.min(a * n, b);
        System.out.println(answer);
        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = Integer.parseInt(sc.next()); n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int a = Integer.parseInt(sc.next()); a Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int b = Integer.parseInt(sc.next()); b Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int answer = Math.min(a * n, b); answer Math.min(a * n, b) Math.min Math a * n a n b System.out.println(answer) System.out.println System.out System System.out answer sc.close() sc.close sc String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next()); // 人数
        int a = Integer.parseInt(sc.next()); // 一人当たりの電車代
        int b = Integer.parseInt(sc.next()); // 人数分のタクシー代
        int answer = Math.min(a * n, b);
        System.out.println(answer);
        sc.close();
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next()); // 人数
        int a = Integer.parseInt(sc.next()); // 一人当たりの電車代
        int b = Integer.parseInt(sc.next()); // 人数分のタクシー代
        int answer = Math.min(a * n, b);
        System.out.println(answer);
        sc.close();
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next()); // 人数
        int a = Integer.parseInt(sc.next()); // 一人当たりの電車代
        int b = Integer.parseInt(sc.next()); // 人数分のタクシー代
        int answer = Math.min(a * n, b);
        System.out.println(answer);
        sc.close();
    }
}