N,A,B=(int(i) for i in input().split())

if A*N<B:

    print((A*N))

else:

    print(B)
N,A,B=(int(i) for i in input().split())

value=A*N

if value<B:

    print(value)

else:

    print(B)
N, A, B = (int(i) for i in input().split())
if A * N < B:
    print((A * N))
else:
    print(B)

N, A, B = (int(i) for i in input().split())
value = A * N
if value < B:
    print(value)
else:
    print(B)

-if A * N < B: -    print((A * N)) +value = A * N +if value < B: +    print(value)