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

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

print((min(A*N, B)))
N, A, B = (int(x) for x in input().split())
print((min(A * N, B)))

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

-N, A, B = (int(x) for x in input().split()) +N, A, B = list(map(int, input().split()))