# ABC 133: A – T or T

n, a, b = [int(s) for s in input().split()]

print((min(a * n, b)))
# ABC 133: A – T or T

n, a, b = list(map(int, input().split()))

print((min(a * n, b)))
# ABC 133: A – T or T
n, a, b = [int(s) for s in input().split()]
print((min(a * n, b)))

# ABC 133: A – T or T
n, a, b = list(map(int, input().split()))
print((min(a * n, b)))

-n, a, b = [int(s) for s in input().split()] +n, a, b = list(map(int, input().split()))