# -*- coding: utf-8 -*-

N,A,B = list(map(int,input().split()))

train = N*A

taxi = B

result = train - taxi



if result >= 0:

    print(taxi)

else:

    print(train)

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

train=a*n

taxi=b

print((min(train,taxi)))
# -*- coding: utf-8 -*-
N, A, B = list(map(int, input().split()))
train = N * A
taxi = B
result = train - taxi
if result >= 0:
    print(taxi)
else:
    print(train)

n, a, b = list(map(int, input().split()))
train = a * n
taxi = b
print((min(train, taxi)))

-# -*- coding: utf-8 -*- -N, A, B = list(map(int, input().split())) -train = N * A -taxi = B -result = train - taxi -if result >= 0: -    print(taxi) -else: -    print(train) +n, a, b = list(map(int, input().split())) +train = a * n +taxi = b +print((min(train, taxi)))