a, b, c = io.read("*n", "*n", "*n") print(math.min(b, a * c))