100 atcoder#ABC133A. [ABC133A] T or T
[ABC133A] T or T
Score : points
Problem Statement
of us are going on a trip, by train or taxi.
The train will cost each of us yen (the currency of Japan).
The taxi will cost us a total of yen.
How much is our minimum total travel expense?
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print an integer representing the minimum total travel expense.
4 2 9
8
The train will cost us yen, and the taxi will cost us yen, so the minimum total travel expense is yen.
4 2 7
7
4 2 8
8