import java.util.*;
public class Main {

    public static void main(String[] args) {
        Scanner yomi = new Scanner(System.in);
        int hito = yomi.nextInt();
        int densyatin = yomi.nextInt();
        int taxiuntin = yomi.nextInt();
        if (hito * densyatin > taxiuntin) System.out.println(taxiuntin);
        else System.out.println(hito * densyatin);

    }
} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        Scanner yomi = new Scanner(System.in);
        int hito = yomi.nextInt();
        int densyatin = yomi.nextInt();
        int taxiuntin = yomi.nextInt();
        if (hito * densyatin > taxiuntin) System.out.println(taxiuntin);
        else System.out.println(hito * densyatin);

    }
} Main public static void main(String[] args) {
        Scanner yomi = new Scanner(System.in);
        int hito = yomi.nextInt();
        int densyatin = yomi.nextInt();
        int taxiuntin = yomi.nextInt();
        if (hito * densyatin > taxiuntin) System.out.println(taxiuntin);
        else System.out.println(hito * densyatin);

    } main {
        Scanner yomi = new Scanner(System.in);
        int hito = yomi.nextInt();
        int densyatin = yomi.nextInt();
        int taxiuntin = yomi.nextInt();
        if (hito * densyatin > taxiuntin) System.out.println(taxiuntin);
        else System.out.println(hito * densyatin);

    } Scanner yomi = new Scanner(System.in); yomi new Scanner(System.in) int hito = yomi.nextInt(); hito yomi.nextInt() yomi.nextInt yomi int densyatin = yomi.nextInt(); densyatin yomi.nextInt() yomi.nextInt yomi int taxiuntin = yomi.nextInt(); taxiuntin yomi.nextInt() yomi.nextInt yomi if (hito * densyatin > taxiuntin) System.out.println(taxiuntin);
        else System.out.println(hito * densyatin); hito * densyatin > taxiuntin hito * densyatin hito densyatin taxiuntin System.out.println(taxiuntin) System.out.println System.out System System.out taxiuntin System.out.println(hito * densyatin) System.out.println System.out System System.out hito * densyatin hito densyatin String[] args args public class Main {

    public static void main(String[] args) {
        Scanner yomi = new Scanner(System.in);
        int hito = yomi.nextInt();
        int densyatin = yomi.nextInt();
        int taxiuntin = yomi.nextInt();
        if (hito * densyatin > taxiuntin) System.out.println(taxiuntin);
        else System.out.println(hito * densyatin);

    }
} public class Main {

    public static void main(String[] args) {
        Scanner yomi = new Scanner(System.in);
        int hito = yomi.nextInt();
        int densyatin = yomi.nextInt();
        int taxiuntin = yomi.nextInt();
        if (hito * densyatin > taxiuntin) System.out.println(taxiuntin);
        else System.out.println(hito * densyatin);

    }
} Main
import java.util.*;
public class Main {

    public static void main(String[] args) {
        Scanner yomi = new Scanner(System.in);
        int hito = yomi.nextInt();
        int densyatin = yomi.nextInt();
        int taxiuntin = yomi.nextInt();
        if (hito * densyatin > taxiuntin) System.out.println(taxiuntin);
        else System.out.println(hito * densyatin);

    }
}
