N,A,B = map(int,input().split())
num1 = A*N
num2 = B
if num1 >= num2:
    print(num2)
else:
    print(num1)
#ok

b410180b5dd6cedfd9345b52d1ea4305f240b615
<mask token>

<mask token>
if num1 >= num2:
    print(num2)
else:
    print(num1)

N, A, B = map(int, input().split())
num1 = A * N
num2 = B
if num1 >= num2:
    print(num2)
else:
    print(num1)

N,A,B = map(int,input().split())
num1 = A*N
num2 = B
if num1 >= num2:
    print(num2)
else:
    print(num1)
#ok
