import java.util.*;

class Main {
    public static void main(final 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(calculation(n));
        }
    }

    private static int calculation(final int[] n) {
        int train = n[0] * n[1];
        int taxi = n[2];
        if (train < taxi) {
            return train;
        }
        return taxi;
    }
} import java.util.*; util.* java class Main {
    public static void main(final 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(calculation(n));
        }
    }

    private static int calculation(final int[] n) {
        int train = n[0] * n[1];
        int taxi = n[2];
        if (train < taxi) {
            return train;
        }
        return taxi;
    }
} Main public static void main(final 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(calculation(n));
        }
    } 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(calculation(n));
        }
    } 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();
            }
            System.out.println(calculation(n));
        } {
            for(int i = 0; i < 3; i++) {
                n[i] = scanner.nextInt();
            }
            System.out.println(calculation(n));
        } 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(calculation(n)) System.out.println System.out System System.out calculation(n) calculation n final String[] args args private static int calculation(final int[] n) {
        int train = n[0] * n[1];
        int taxi = n[2];
        if (train < taxi) {
            return train;
        }
        return taxi;
    } calculation {
        int train = n[0] * n[1];
        int taxi = n[2];
        if (train < taxi) {
            return train;
        }
        return taxi;
    } int train = n[0] * n[1]; train n[0] * n[1] n[0] n 0 n[1] n 1 int taxi = n[2]; taxi n[2] n 2 if (train < taxi) {
            return train;
        } train < taxi train taxi {
            return train;
        } return train; train return taxi; taxi final int[] n n
import java.util.*;

class Main {
    public static void main(final 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(calculation(n));
        }
    }

    private static int calculation(final int[] n) {
        int train = n[0] * n[1];
        int taxi = n[2];
        if (train < taxi) {
            return train;
        }
        return taxi;
    }
}
