import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int m = Integer.parseInt(sc.next());
        int o = Integer.parseInt(sc.next());
        System.out.println(Math.min(n * m, o));
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int m = Integer.parseInt(sc.next());
        int o = Integer.parseInt(sc.next());
        System.out.println(Math.min(n * m, o));
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int m = Integer.parseInt(sc.next());
        int o = Integer.parseInt(sc.next());
        System.out.println(Math.min(n * m, o));
    } main {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int m = Integer.parseInt(sc.next());
        int o = Integer.parseInt(sc.next());
        System.out.println(Math.min(n * m, o));
    } 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 m = Integer.parseInt(sc.next()); m Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int o = Integer.parseInt(sc.next()); o Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc System.out.println(Math.min(n * m, o)) System.out.println System.out System System.out Math.min(n * m, o) Math.min Math n * m n m o String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int m = Integer.parseInt(sc.next());
        int o = Integer.parseInt(sc.next());
        System.out.println(Math.min(n * m, o));
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int m = Integer.parseInt(sc.next());
        int o = Integer.parseInt(sc.next());
        System.out.println(Math.min(n * m, o));
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        int m = Integer.parseInt(sc.next());
        int o = Integer.parseInt(sc.next());
        System.out.println(Math.min(n * m, o));
    }
}
