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



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

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

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

-print((min(A * N, B))) +print((min(N * A, B)))