d =int(input()) a, b = map(int, input().split()) if a > b : print (b * d) else: print (a * d)