
import java.util.*;

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

        int num = sc.nextInt();

        int a = sc.nextInt();
        int b = sc.nextInt();

        if(num * a >= b) System.out.println(b);
        else System.out.println(num * a);
    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int num = sc.nextInt();

        int a = sc.nextInt();
        int b = sc.nextInt();

        if(num * a >= b) System.out.println(b);
        else System.out.println(num * a);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int num = sc.nextInt();

        int a = sc.nextInt();
        int b = sc.nextInt();

        if(num * a >= b) System.out.println(b);
        else System.out.println(num * a);
    } main {
        Scanner sc = new Scanner(System.in);

        int num = sc.nextInt();

        int a = sc.nextInt();
        int b = sc.nextInt();

        if(num * a >= b) System.out.println(b);
        else System.out.println(num * a);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int num = sc.nextInt(); num sc.nextInt() sc.nextInt sc int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc if(num * a >= b) System.out.println(b);
        else System.out.println(num * a); num * a >= b num * a num a b System.out.println(b) System.out.println System.out System System.out b System.out.println(num * a) System.out.println System.out System System.out num * a num a String[] args args

import java.util.*;

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

        int num = sc.nextInt();

        int a = sc.nextInt();
        int b = sc.nextInt();

        if(num * a >= b) System.out.println(b);
        else System.out.println(num * a);
    }
}