import sys, heapq, bisect, math, fractions

from collections import deque



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



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



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

import sys, heapq, bisect, math, fractions
from collections import deque

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

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

-import sys, heapq, bisect, math, fractions -from collections import deque -