import java.util.*;
class Main{
    public static void main(String[] args)
    {
        int  n[] = new int[3];   
        try (Scanner scanner = new Scanner(System.in))
        {
        
            for(int i = 0; i < 3; i++)
            {
                n[i] = scanner.nextInt();
            }
        }
        System.out.println(Main.Calculation(n[0], n[1], n[2]));
    }
    public static int Calculation(int a, int b, int c)
    {
        int train, result;
        train = b * a;
        result = c;
        if(train < c)
        {
            result = train;
        }
        return result;
    }
} import java.util.*; util.* java class Main{
    public static void main(String[] args)
    {
        int  n[] = new int[3];   
        try (Scanner scanner = new Scanner(System.in))
        {
        
            for(int i = 0; i < 3; i++)
            {
                n[i] = scanner.nextInt();
            }
        }
        System.out.println(Main.Calculation(n[0], n[1], n[2]));
    }
    public static int Calculation(int a, int b, int c)
    {
        int train, result;
        train = b * a;
        result = c;
        if(train < c)
        {
            result = train;
        }
        return result;
    }
} Main public static void main(String[] args)
    {
        int  n[] = new int[3];   
        try (Scanner scanner = new Scanner(System.in))
        {
        
            for(int i = 0; i < 3; i++)
            {
                n[i] = scanner.nextInt();
            }
        }
        System.out.println(Main.Calculation(n[0], n[1], n[2]));
    } main {
        int  n[] = new int[3];   
        try (Scanner scanner = new Scanner(System.in))
        {
        
            for(int i = 0; i < 3; i++)
            {
                n[i] = scanner.nextInt();
            }
        }
        System.out.println(Main.Calculation(n[0], n[1], n[2]));
    } int  n[] = new int[3]; n new int[3] 3 try (Scanner scanner = new Scanner(System.in))
        {
        
            for(int i = 0; i < 3; i++)
            {
                n[i] = scanner.nextInt();
            }
        } {
        
            for(int i = 0; i < 3; i++)
            {
                n[i] = scanner.nextInt();
            }
        } Scanner scanner = new Scanner(System.in) Scanner scanner = new Scanner(System.in) new Scanner(System.in) for(int i = 0; i < 3; i++)
            {
                n[i] = scanner.nextInt();
            } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
                n[i] = scanner.nextInt();
            } {
                n[i] = scanner.nextInt();
            } n[i] = scanner.nextInt() n[i] n i scanner.nextInt() scanner.nextInt scanner System.out.println(Main.Calculation(n[0], n[1], n[2])) System.out.println System.out System System.out Main.Calculation(n[0], n[1], n[2]) Main.Calculation Main n[0] n 0 n[1] n 1 n[2] n 2 String[] args args public static int Calculation(int a, int b, int c)
    {
        int train, result;
        train = b * a;
        result = c;
        if(train < c)
        {
            result = train;
        }
        return result;
    } Calculation {
        int train, result;
        train = b * a;
        result = c;
        if(train < c)
        {
            result = train;
        }
        return result;
    } int train train result; result train = b * a train b * a b a result = c result c if(train < c)
        {
            result = train;
        } train < c train c {
            result = train;
        } result = train result train return result; result int a a int b b int c c
import java.util.*;
class Main{
    public static void main(String[] args)
    {
        int  n[] = new int[3];   
        try (Scanner scanner = new Scanner(System.in))
        {
        
            for(int i = 0; i < 3; i++)
            {
                n[i] = scanner.nextInt();
            }
        }
        System.out.println(Main.Calculation(n[0], n[1], n[2]));
    }
    public static int Calculation(int a, int b, int c)
    {
        int train, result;
        train = b * a;
        result = c;
        if(train < c)
        {
            result = train;
        }
        return result;
    }
}