import java.util.*;

public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int num1 = sc.nextInt();
    int num2 = sc.nextInt();
    int num3 = sc.nextInt();
    int Train= num1*num2;
    if(Train>=num3){
      System.out.println(num3);
    }else{
      System.out.println(Train);
    }
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int num1 = sc.nextInt();
    int num2 = sc.nextInt();
    int num3 = sc.nextInt();
    int Train= num1*num2;
    if(Train>=num3){
      System.out.println(num3);
    }else{
      System.out.println(Train);
    }
  }
} Main public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int num1 = sc.nextInt();
    int num2 = sc.nextInt();
    int num3 = sc.nextInt();
    int Train= num1*num2;
    if(Train>=num3){
      System.out.println(num3);
    }else{
      System.out.println(Train);
    }
  } main {
    Scanner sc = new Scanner(System.in);
    int num1 = sc.nextInt();
    int num2 = sc.nextInt();
    int num3 = sc.nextInt();
    int Train= num1*num2;
    if(Train>=num3){
      System.out.println(num3);
    }else{
      System.out.println(Train);
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int num1 = sc.nextInt(); num1 sc.nextInt() sc.nextInt sc int num2 = sc.nextInt(); num2 sc.nextInt() sc.nextInt sc int num3 = sc.nextInt(); num3 sc.nextInt() sc.nextInt sc int Train= num1*num2; Train num1*num2 num1 num2 if(Train>=num3){
      System.out.println(num3);
    }else{
      System.out.println(Train);
    } Train>=num3 Train num3 {
      System.out.println(num3);
    } System.out.println(num3) System.out.println System.out System System.out num3 {
      System.out.println(Train);
    } System.out.println(Train) System.out.println System.out System System.out Train String[] args args public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int num1 = sc.nextInt();
    int num2 = sc.nextInt();
    int num3 = sc.nextInt();
    int Train= num1*num2;
    if(Train>=num3){
      System.out.println(num3);
    }else{
      System.out.println(Train);
    }
  }
} public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int num1 = sc.nextInt();
    int num2 = sc.nextInt();
    int num3 = sc.nextInt();
    int Train= num1*num2;
    if(Train>=num3){
      System.out.println(num3);
    }else{
      System.out.println(Train);
    }
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args ) throws Exception {
    Scanner sc = new Scanner(System.in);
    int num1 = sc.nextInt();
    int num2 = sc.nextInt();
    int num3 = sc.nextInt();
    int Train= num1*num2;
    if(Train>=num3){
      System.out.println(num3);
    }else{
      System.out.println(Train);
    }
  }
}