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

8586f4401c52bc7175365d4c0c7593e340361498
<mask token>

<mask token>
print(min(N * A, C))

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