import java.util.*;

public class Main {
  public static void main(String[] args) {
    int i, number_n, number_a, number_b;
    Scanner sc = new Scanner(System.in);
    number_n = Integer.parseInt(sc.next());
    number_a = Integer.parseInt(sc.next());
    number_b = Integer.parseInt(sc.next());
    if(number_n * number_a < number_b) System.out.println(number_n * number_a);
    else System.out.println(number_b);
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    int i, number_n, number_a, number_b;
    Scanner sc = new Scanner(System.in);
    number_n = Integer.parseInt(sc.next());
    number_a = Integer.parseInt(sc.next());
    number_b = Integer.parseInt(sc.next());
    if(number_n * number_a < number_b) System.out.println(number_n * number_a);
    else System.out.println(number_b);
  }
} Main public static void main(String[] args) {
    int i, number_n, number_a, number_b;
    Scanner sc = new Scanner(System.in);
    number_n = Integer.parseInt(sc.next());
    number_a = Integer.parseInt(sc.next());
    number_b = Integer.parseInt(sc.next());
    if(number_n * number_a < number_b) System.out.println(number_n * number_a);
    else System.out.println(number_b);
  } main {
    int i, number_n, number_a, number_b;
    Scanner sc = new Scanner(System.in);
    number_n = Integer.parseInt(sc.next());
    number_a = Integer.parseInt(sc.next());
    number_b = Integer.parseInt(sc.next());
    if(number_n * number_a < number_b) System.out.println(number_n * number_a);
    else System.out.println(number_b);
  } int i i number_n number_n number_a number_a number_b; number_b Scanner sc = new Scanner(System.in); sc new Scanner(System.in) number_n = Integer.parseInt(sc.next()) number_n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc number_a = Integer.parseInt(sc.next()) number_a Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc number_b = Integer.parseInt(sc.next()) number_b Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc if(number_n * number_a < number_b) System.out.println(number_n * number_a);
    else System.out.println(number_b); number_n * number_a < number_b number_n * number_a number_n number_a number_b System.out.println(number_n * number_a) System.out.println System.out System System.out number_n * number_a number_n number_a System.out.println(number_b) System.out.println System.out System System.out number_b String[] args args public class Main {
  public static void main(String[] args) {
    int i, number_n, number_a, number_b;
    Scanner sc = new Scanner(System.in);
    number_n = Integer.parseInt(sc.next());
    number_a = Integer.parseInt(sc.next());
    number_b = Integer.parseInt(sc.next());
    if(number_n * number_a < number_b) System.out.println(number_n * number_a);
    else System.out.println(number_b);
  }
} public class Main {
  public static void main(String[] args) {
    int i, number_n, number_a, number_b;
    Scanner sc = new Scanner(System.in);
    number_n = Integer.parseInt(sc.next());
    number_a = Integer.parseInt(sc.next());
    number_b = Integer.parseInt(sc.next());
    if(number_n * number_a < number_b) System.out.println(number_n * number_a);
    else System.out.println(number_b);
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) {
    int i, number_n, number_a, number_b;
    Scanner sc = new Scanner(System.in);
    number_n = Integer.parseInt(sc.next());
    number_a = Integer.parseInt(sc.next());
    number_b = Integer.parseInt(sc.next());
    if(number_n * number_a < number_b) System.out.println(number_n * number_a);
    else System.out.println(number_b);
  }
}
