You are parking at a parking lot. You can choose from the following two fee plans:    * Plan 1: The fee will be A×T yen (the currency of Japan) when you park for T hours.   * Plan 2: The fee will be B yen, regardless of the duration.  Find the minimum fee when you park for N hours.
n ,a ,b = map(int, input().split())
if a*n <= b:
    print(a*b)
else:
    print(b)
n ,a ,b = map(int, input().split())
if a*n <= b:
    print(a*n)
else:
    print(b)