import java.util.Scanner;
import java.io.PrintWriter;

class Main {
    static int cheaper(int n, int a, int b) {
        int train = n * a;
        if ( train < b ) {
            return train;
        }
        return b;
    }


    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        int n = Integer.parseInt(sc.next());
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());

        out.println(cheaper(n, a, b));
        out.flush();
    }
} import java.util.Scanner; Scanner java.util import java.io.PrintWriter; PrintWriter java.io class Main {
    static int cheaper(int n, int a, int b) {
        int train = n * a;
        if ( train < b ) {
            return train;
        }
        return b;
    }


    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        int n = Integer.parseInt(sc.next());
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());

        out.println(cheaper(n, a, b));
        out.flush();
    }
} Main static int cheaper(int n, int a, int b) {
        int train = n * a;
        if ( train < b ) {
            return train;
        }
        return b;
    } cheaper {
        int train = n * a;
        if ( train < b ) {
            return train;
        }
        return b;
    } int train = n * a; train n * a n a if ( train < b ) {
            return train;
        } train < b train b {
            return train;
        } return train; train return b; b int n n int a a int b b public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        int n = Integer.parseInt(sc.next());
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());

        out.println(cheaper(n, a, b));
        out.flush();
    } main {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        int n = Integer.parseInt(sc.next());
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());

        out.println(cheaper(n, a, b));
        out.flush();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) 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 out.println(cheaper(n, a, b)) out.println out cheaper(n, a, b) cheaper n a b out.flush() out.flush out String[] args args
import java.util.Scanner;
import java.io.PrintWriter;

class Main {
    static int cheaper(int n, int a, int b) {
        int train = n * a;
        if ( train < b ) {
            return train;
        }
        return b;
    }


    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        int n = Integer.parseInt(sc.next());
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());

        out.println(cheaper(n, a, b));
        out.flush();
    }
}
