Problem:
 Score : 100 points    Problem Statement N of us are going on a trip, by train or taxi.  The train will cost each of us A yen (the currency of Japan).  The taxi will cost us a total of B yen.  How much is our minimum total travel expense?      Constraints  All values in input are integers.  1 \leq N \leq 20  1 \leq A \leq 50  1 \leq B \leq 50         Input Input is given from Standard Input in the following format:  N  A  B       Output Print an integer representing the minimum total travel expense.        Sample Input 1 4 2 9      Sample Output 1 8  The train will cost us 4 \times 2 = 8 yen, and the taxi will cost us 9 yen, so the minimum total travel expense is 8 yen.       Sample Input 2 4 2 7      Sample Output 2 7       Sample Input 3 4 2 8      Sample Output 3 8

Solution (Python):
from sys import stdin
N, A, B = [int(_) for _ in stdin.readline().rstrip().split()]
print(min(N*A, B))

Solution (Python):
N, A, B = map(int, input().split())

if A*N > B:
    print(B)
else:
    print(A*N)

Solution (Python):
N,A,B = map(int,input().split())
print(min(A*N,B))

Solution (Python):
n,a,b = map(int,input().split())
print(min(n*a,b))

Solution (Python):
N, A, B = map(int, input().split())
print(min(B, N*A))

Solution (Python):
N,A,B = [int(zz) for zz in input().split()]

print(min(N*A,B))

Solution (Python):
n, a, b = map(int, input().split())
print(min(n * a, b))

Solution (Python):
N,A,B=map(int,input().split())
print(min(A*N,B))

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

Solution (Python):
N, A, B = map(int, input().split())
if N*A < B:
	print(N*A)
else :
	print(B)

Solution (Python):
N, A, B = map(int, input().split())
print(min(N*A, B))

Solution (Python):
N,A,B = map(int,input().split())
D  = A*N
if D>B:
    print(B)
else: 
    print(D)

Solution (Python):
i = input().split(" ")
people = int(i[0])
train_fee = int(i[1])
taxi_fee = int(i[2])

train_sum = people * train_fee
if train_sum > taxi_fee:
    print(taxi_fee)
else:
    print(train_sum)

Solution (Python):
n, a, b = input().split()

train = int(n) * int(a)
taxi = int(b) // int(n)

if train < int(b):
    print(train)
else:
    print(b)

Solution (Python):
S = input()

S = S.split()

N = int(S[0])
A = int(S[1])
B = int(S[2])


train_cost = N*A
taxi_cost  = B

if train_cost >= taxi_cost:
    print(taxi_cost)
else:
    print(train_cost)

Solution (Python):

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


print("{}".format(min([N * A, B])))

Solution (Python):
import numpy as np

n,a,b = (int(i) for i in input().split())  

if n*a < b:
    print(n*a)
else:
    print(b)

Solution (Python):
N,A,B = map(int,input().split())
print(min(N*A,B))

Solution (Python):
n, a, b = map(int, input().split())

train = n*a
if (train < b):
    print(train)
else:
    print(b)

Solution (Python):
n, a, b = map(int, input().split())

if (n*a) > b:
    print(b)
else:
    print(n*a)

Solution (Python):
n,a,b = map(int,input().split())


if n*a<=b:
    print(n*a)
else:
    print(b)

Solution (Python):
n, a, b =map(int, input().split())  
if (a*n)<b:
    print(a*n)
else:
    print(b)

Solution (Python):
N, A, B = map(int, input().split())
print(min(N * A, B))

Solution (Python):
n, a, b = (int(i) for i in input().split())  
print(min(n*a, b))

Solution (Python):
n,a,b = map(int,input().split())

if n*a > b:
    print(b)
else:
    print(n*a)

Solution (Python):
N, A, B = map(int, input().split())
print(min(N*A, B))

Solution (Python):
N, A, B = map(int,input().split())
print(min(N*A, B))

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

Solution (Python):
def A_TorT():
    N, A, B = map(int,input().split())
    total = B
    if A < (B / N):
        total = A * N
    print(total)

if __name__ == "__main__":
    A_TorT()

Solution (Python):
N,A,B = map(int,input().split(' '))
print(min(N*A,B))

Solution (Python):
N, A, B = map(int,input().split())
if N*A < B:
  ans = N*A
else:
  ans = B
print(ans)

Solution (Python):
a, b, c = input().split()
a, b, c = int(a), int(b), int(c)
print(min(a*b, c))

Solution (Python):
N,A,B = list(map(int,input().split()))
if N * A >= B:
  print(B)
else :
  print(N*A)

Solution (Python):
S = input().split()

N = int(S[0])
cost_train = int(S[1]) * N
cost_taxi  = int(S[2])

if cost_train > cost_taxi:
    print(cost_taxi)
else:
    print(cost_train)

Solution (Python):
n,a,b=map(int,input().split())
if n*a<=b:print(n*a)
else:print(b)

Solution (Python):
N, A, B = map(int, input().split())

print(min(N * A, B))

Solution (Python):
n,a,b=map(int,input().split())
if n*a>=b:
  print(b)
else:
  print(n*a)

Solution (Python):
n, a, b = map(int, input().split())
print(min(n * a, b))

Solution (Python):
n,a,b = map(int,input().split())
print(min(n*a,b))

Solution (Python):
a,b,c=map(int,input().split())
if a*b <=c:
     print(a*b)
else:
    print(c)

Solution (Python):
N,A,B=map(int,input().split())
sum=min(N*A,B)
print(sum)

Solution (Python):
n, a, b = [int(i) for i in input().split()]

if a*n>b:
  print(b)
else:
  print(a*n)

Solution (Python):
n,A,B = input().split()
a = int(n) * int(A)
b = int(B)
if a < b:
  print(a)
else:
  print(b)

Solution (Python):
N, A, B = map(int, input().split())
train = N * A
if train >= B:
    print(B)
else :
    print(train)

Solution (Python):


def main():
    N, A, B = list(map(int, input().strip().split()))
    if N * A < B:
        return N * A
    else:
        return B

if __name__ == '__main__':
    print(main())

Solution (Python):
from sys import stdin

readline = stdin.readline


def main():
    n, a, b = map(int, readline().split())
    res = min(n * a, b)
    print(res)


if __name__ == "__main__":
    main()

Solution (Python):
N, A, B = map(int, input().split())

if A * N > B:
    print("{}".format(B))
else:
    print("{}".format(N*A))

Solution (Python):
import sys
sys.setrecursionlimit(10**7)
import math
mod = 10**9 + 7
def I(): return int(input())
def II(): return map(int, input().split())
def L(): return list(map(int, input().split()))
def TWO(M):
  L=[0]*M
  R=[0]*M
  for i in range(M):
    L[i],R[i] = II()
  return L, R

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

Solution (Python):
A, B, C = map(int, input().split())

if A*B >= C:
    print(C)
else:
    print(A*B)

Solution (Python):
n, b, c = list(map(int, input().rstrip().split()))
if n*b < c:
    print(n*b)
else:
    print(c)

Solution (Python):


import os, sys

N, A, B = map(lambda x: int(x), input().split(" "))

print(min(A * N, B))

Solution (Python):


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

train = N*A
taxi = B

if train <= taxi:
    print(train)
else:
    print(taxi)

Solution (Python):
n,a,b=map(int,input().split())
print(min(b,a*n))

Solution (Python):
n, a, b = [int(x) for x in input().split()]
print(min(a * n,b))

Solution (Python):
N, A, B = map(int,input().split())
print(min(N*A,B))

Solution (Python):



def main():
    n, a, b = map(int, input().split())
    print(min(n * a, b))


if __name__ == '__main__':
    main()

Solution (Python):
a, b, c = map(int, input().split())
print(min(a*b, c))

Solution (Python):
N, A, B = map(int, input().split())

tmp = A * N
if tmp < B:
  print(tmp)
else:
  print(B)

Solution (Python):
n, a, b = map(int,input().split())
if n*a >= b:
    print(b)
else:
    print(n*a)

Solution (Python):


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

if A * B < C:
    print(A * B)
else:
    print(C)

Solution (Python):
n,a,b = map(int, input().split())
print(b) if n * a > b else print(n * a)

Solution (Python):
def main(n,a,b):
    if (1 <= n <= 20 )and (1 <= a <= 50) and (1 <= b <= 50) :
        sum_list = [n * a, b] 
    return min(sum_list)

if __name__ == '__main__':
    s = list(map(int, input().split()))
    huga = main(s[0],s[1],s[2])
    print(huga)

Solution (Python):
N,A,B=map(int,input().split())
Train=N*A
Taxi=B
if Train>Taxi:
    print(Taxi)
else: print(Train)

Solution (Python):
n,a,b = map(int, input().split())
print(b) if n * a > b else print(n * a)

Solution (Python):
N, A, B = map(int, input().split())

if A*N < B:
    print(A*N)
else:
    print(B)

Solution (Python):
n,a,b=map(int,input().split())
s=n*a
ans=min(s,b)
print(ans)

Solution (Python):
N, A, B = map(int, input().split())
print(min(N * A, B))

Solution (Python):
N, A, B=map(int, input().split())
if N*A>=B:
  print(B)
else:
  print(N*A)

Solution (Python):
n,a,b=map(int,input().split())
print(min(n*a, b))

Solution (Python):



a=list(map(int,input().split()))

if(a[0]*a[1]>a[2]):
    print(a[2])
else:
    print(a[0]*a[1])

Solution (Python):
n,a,b = map(int,input().split())



ans = min(a*n,b) 
print(ans)

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

Solution (Python):
from sys import stdin
n, a, b = map(int, stdin.readline().split())
if n * a < b:
    print(n * a)
else:
    print(b)

Solution (Python):
line = list(map(int, input().split()))
a = line[0] * line[1]
b = line[2]

if a <= b:
  print(a)
else:
  print(b)

Solution (Python):
N,A,B = (int(x) for x in input().split())
money = N * A
if money > B:
    money = B
print(money)

Solution (Python):
n,a,b = list(map(int, input().split()))

print(min(n*a, b))

Solution (Python):
N, A, B = map(int, input().split())
print(min(N*A, B))

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

if N*A < B:
    print(N*A)
else:
    print(B)

Solution (Python):
N,A,B = list(map(int, input().split()))
res = B if B < N*A else N*A
print(res)

Solution (Python):
N,A,B = map(int,input().split())
print(min(N*A,B))

Solution (Python):

n, a, b = map(int, input().split())

if n*a < b:
    print(n*a)
else:
    print(b)

Solution (Python):
n,a,b=map(int,input().split())
ans=min(n*a,b)
print(ans)

Solution (Python):
n, a, b = map(int, input().split())
if n*a >= b:
    print(b)
else:
    print(n*a)

Solution (Python):
import sys, math, itertools, bisect, copy, re
from collections import Counter, deque, defaultdict






INF = float('inf')
MOD = 10 ** 9 + 7
EPS = 10 ** -7
sys.setrecursionlimit(1000000)








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

Solution (Python):
n, a, b = map(int, input().split())
if n*a < b:
  print(n*a)
else:
  print(b)

Solution (Python):
n,a,b = map(int,input().split())
if n*a < b:
  print(n*a)
else:
  print(b)

Solution (Python):
n, a, b = map(int, input().split())

train=a*n
tax=b

if train >= tax:
    print(tax)
else:
    print(train)

Solution (Python):
import sys

if sys.platform =='ios':
    sys.stdin=open('input.txt')




n, a, b= map(int, input().split())
sum = n*a

if sum < b:
	print(sum)
else:
	print(b)

Solution (Python):
n,a,b=map(int,input().split())
print(min(n*a,b))

Solution (Python):
num = list(map(int,input().split()))

if num[0]*num[1] >= num[2]:
  print(num[2])
else:
  print(num[0]*num[1])

Solution (Python):
n,a,b = map(int,input().split())

print(min(n*a,b))

Solution (Python):
N ,A ,B = list(map(int,input().split()))
print(N * A if N * A < B else B)

Solution (Python):
n,a,b = map(int,input().split())
if a*n < b:
    print(a*n)
else:
    print(b)

Solution (Python):
a,b,c = list(map(int, input().split()))

print(min(a*b, c))

Solution (Python):
n,a,b = map(int,input().split())
if n*a >= b:
  print(b)
else:
  print(n*a)

Solution (Python):
n, train, taxi = map(int, input().split(' '))
if n * train <= taxi:
  print(int(n*train))
else:
  print(int(taxi))

Solution (Python):
N, A, B = map(int, input().split())
print(min(N * A, B))

Solution (Python):
N,A,B=map(int,input().split())
print(min([A*N,B]))

Solution (Python):
N, A, B = map(int, input().split())
print(min(A*N, B))

Solution (Python):
n,a,b = map(int,input().split())

train = n*a
taxi = b
if (train <= taxi):
    print(train)
else:
    print(taxi)

Solution (Python):
l = [int(x) for x in raw_input().split()]
print min(l[0] * l[1], l[2])

Solution (Python):
N,a,b=map(int, input().split())

if(N * a > b):
  print(b)
else:
  print(N * a)

Solution (Python):
def main():
    a,b,c = map(int,input().split())
    if a * b < c:
        print(a * b)
    else:
        print(c)

if __name__ == "__main__":
    main()

Solution (Python):
n, a, b = map(int, input().split())
print(min(n*a, b))

Solution (Python):
str_in = input().split()
num = int(str_in[0])
tc = int(str_in[1])
tx = int(str_in[2])
print(num * tc if (num * tc) < tx else tx)

Solution (Python):
n,a,b = map(int,input().split())
if n*a < b:
    s = n*a
else:
    s = b
print(s)

Solution (Python):
n, a, b = map(int, input().split())
print(min([n*a, b]))

Solution (Python):
def main():
    N, A, B = list(map(int, input().split(" ")))
    train = N*A
    taxi = B
    if train >= taxi:
        print(taxi)
    else:
        print(train)
    return

if __name__ == '__main__':
    main()

Solution (Python):
n,a,b=[int(x) for x in input().split()]
print(min(n*a,b))

Solution (Python):
a,b,c=map(int,input().split())
d=a*b
if d<c:
    print(d)
elif c<d:
    print(c)
else:
    print(d)

Solution (Python):
n,a,b = map(int,input().split())
if n*a>b:
  print(b)
else:
  print(a*n)

Solution (Python):
a,b,c=map(int, input().split())
print(min(b*a,c))

Solution (Python):
n,a,b = map(int, input().split())
print(min(b,a*n))

Solution (Python):
N, A, B = map(int, input().split())
print(min(N * A, B))

Solution (Python):
a, b, x = map(int, input().split())
bus=a*b
if bus<x:
  print(bus)
else:
  print(x)

Solution (Python):
(a,b,c)=map(int,input().split());print(min(a*b,c))

Solution (Python):
n, a, b = map(int, input().split())
print(min(n*a, b))

Solution (Python):
def main01():
    data = input().split()
    num = []

    for i in range(3):
        num.append(int(data[i]))
    densya = num[0] * num[1]
    if densya > num[2]:
        print(num[2])
    else:
        print(densya)


if __name__ == "__main__":
    main01()

Solution (Python):
n, a, b = map(int, input().split())
print(min(a * n, b))

Solution (Python):
N, A, B = map(int, input().split())
print(N*A) if N*A <= B else print(B)

Solution (Python):
n, a, b=(int(x) for x in input().split())
if n*a > b:
    print(b)
else:
    print(n*a)

Solution (Python):


n,a,b = input().split()

if int(a)*int(n) < int(b):
    print(int(a)*int(n))
else:
    print(int(b))

Solution (Python):
a, b, c = map(int, input().split())

print(a * b if a * b < c else c)

Solution (Python):
s=input().split()
a=int(s[0])
b=int(s[1])
c=int(s[2])
if(a*b<=c):
  print(a*b)
else:
  print(c)

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

if N*A > B:
  print(B)
else:
  print(N*A)

Solution (Python):

n,a,b = map(int,input().split())
print(min(n*a,b))

Solution (Python):
n,a,b = map(int, input().split())
res = a*n if a*n < b else b
print(res)

Solution (Python):
a,b,c=map(int,input().split())
print(min(a*b,c))

Solution (Python):
n, a, b = map(int, input().split())

if n * a > b:
    print(b)
else:
    print(n * a)

Solution (Python):
n,a,b = map(int, input().split())
print(min(n*a,b))

Solution (Python):
n, a, b = map(int, input().split())
print(n * a if n * a < b else b)

Solution (Python):

n, a, b = map(int, input().split())
den = n * a
if den < b:
    print(den)
else:
    print(b)

Solution (Python):
N, A, taxi = map(int, input().split())
bus = N * A
print(taxi if taxi < bus else bus)

Solution (Python):
n, a, b = map(int, input().split(" "))

print(min(n*a, b))

Solution (Python):
N,A,B=input().split()
n=int(N)
a=int(A)
b=int(B)
t=n*a
if t>b:
  print(b)
else:
  print(t)

Solution (Python):
n, a, b = map(int, input().split())

if n*a < b:
  print(n*a)
else:
  print(b)

Solution (Python):
n,a,b=map(int,input().split())
densha=n*a
taxi=b
if densha>taxi:
    print(taxi)
elif densha<taxi:
    print(densha)
else:
    print(densha)

Solution (Python):
list = [int(i) for i in input().split()]

n = list[0]
a = list[1]
b = list[2]

if n*a > b:
    print(b)
else:
    print(n*a)

Solution (Python):
n,a,b = map(int, input().split())
print(min(n*a, b))

Solution (Python):
n,a,b=map(int,input().split())

if n*a > b :
  print(b)
else :
  print(n*a)

Solution (Python):
n,a,b = map(int, input().split())
print(n*a if n*a < b else b)

Solution (Python):
N,A,B = map(int,input().split())
if N*A>=B:
  print(B)
else:
  print(N*A)

Solution (Python):
n, a, b = input().split(' '); n, a, b = int(n), int(a), int(b)
 
if a*n <= b:
  print(a*n)
else:
  print(b)

Solution (Python):
n, a, b  = map(int, input().split())
if n*a <= b:
    print(n*a)
else:
    print(b)

Solution (Python):
n, a, b = map(int, input().split())
print(min(n * a, b))

Solution (Python):
n, a, b = map(int, input().split())

print(min(n*a, b))

Solution (Python):
n, a, b = map(int, input().split())
print(min(n*a, b))

Solution (Python):
N, A, B = map(int,input().split())
if N*A < B:
 print(N*A)
else:
 print(B)

Solution (Python):
a=list(map(int,input().split()))
print(min(a[0]*a[1],a[2]))

Solution (Python):
n, a, b = map(int, input().split())
print(min(n * a, b))

Solution (Python):
n,a,b=map(int,input().split())
print(min(n*a,b))

Solution (Python):
n,a,b=map(int,input().split())
print(min(n*a,b))

Solution (Python):
n,a,b = map(int,raw_input().split())
print (min(a*n,b))

Solution (Python):
n,a,b=map(int,input().split())
print(b) if b <= n*a else print(n*a)

Solution (Python):
N,A,B=map(int,input().split())
C = N*A
if C>B:
    print(B)
else:
    print(C)

Solution (Python):
a,s,d=map(int,input().split())
print(min(a*s,d))

Solution (Python):
n,a,b = map(int,input().split())
c = n*a
if c >= b:
    print(b)
else:
    print(c)

Solution (Python):
from heapq import heappush, heappop
import re
from collections import deque
import sys
input = sys.stdin.readline


def int_raw():
    return int(input())


def ss_raw():
    return input().split()


def ints_raw():
    return tuple(map(int, ss_raw()))


DIV = 10**9+7


def mod_inv_prime(a, mod=DIV):
    return pow(a, mod-2, mod)


def mod_inv(a, b):
    r = a
    w = b
    u = 1
    v = 0
    while w != 0:
        t = r//w
        r -= t*w
        r, w = w, r
        u -= t*v
        u, v = v, u
    return (u % b+b) % b


def ncr(n, r, mod=DIV):
	r = min(r, n-r)
	ret = 1
	for i in range(1, r+1):
		ret = ret * (n-i+1) % mod
		ret = ret * mod_inv(i, mod) % mod
	return ret


def main():
    N,A,B = ints_raw()
    c1 = N*A
    c2 = B
    return min(c1,c2)

print(main())

Solution (Python):
N,A,B=map(int,input().split())

if A*N<B:
    ans=A*N
else:
    ans=B

print(ans)

Solution (Python):
N, A, B = map(int, input().split())
print(min(B, N * A))

Solution (Python):
n,a,b = map(int,input().split())

print(min(n*a,b))

Solution (Python):
n,a,b = map(int,input().split())
print(min(n*a,b))

Solution (Python):

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

ans = min(N * A, B)

print(ans)

Solution (Python):
N, A, B = map(int, input().split())
if A * N > B:
    print(B)
else:
    print(A * N)

Solution (Python):
get = input().split()
N = int(get[0])
A = int(get[1])
B = int(get[2])
train = A * N
if train <= B:
    print(train)
else:
    print(B)

Solution (Python):
a, b, c = map(int, input().split())
print(min(a*b, c))

Solution (Python):
n,a,b = list(map(int,input().split()))
print(min(n*a,b))

Solution (Python):
n, b, c = map(int, input().split())
print(min(n*b, c))

Solution (Python):
N, A, B = [int(i) for i in input().split()]

sum_train = N*A

sum_tax = B

if sum_train < sum_tax:
    print(sum_train)
else:
    print(sum_tax)

Solution (Python):
import sys
a,b,c=map(int,sys.stdin.readline().split())
print(min(a*b,c))

Solution (Python):
s = []
s = input().split(' ')

if(int(s[0]) * int(s[1]) <= int(s[2])):
    print(int(s[0])* int(s[1]))
else:
    print(int(s[2]))

Solution (Python):
N, A, B = [int(_) for _ in input().split()]

print(min(N * A, B))

Solution (Python):
A = list(map(int, input().split())) 

def func(n, a, b):
  if (n*a > b):
    print(b)
  else:
    print(n*a)
    
func(A[0], A[1], A[2])

Solution (Python):
n,a,b = map(int,input().split())

train = a*n

if train<b:
  print(train)
else:
  print(b)

Solution (Python):
n, a, b = map(int, input().split())
print(min(n * a, b))

Solution (Python):
a=list(map(int,input().split()))
print(min(a[0]*a[1],a[2]))

Solution (Python):
N, A, B = [int(x) for x in input().split()]
print(min(N*A, B))

Solution (Python):
N,A,B=map(int,input().split())
print(min(N*A,B))

Solution (Python):
def MI():
  return map(int,input().split())
n,a,b=MI()
print(min(n*a,b))

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

train = N * A
if train > B:
  print(B)
else:
  print(train)

Solution (Python):
N,A,B=map(int,input().split());print(min(A*N,B))

Solution (Python):
import sys
input = sys.stdin.readline

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

print(min(N * A, B))

Solution (Python):
N,A,B = map(int,input().split())

print(min(N*A,B))

Solution (Python):
x = input().split(" ")
x = list(map(lambda a: int(a),x))
if x[0]*x[1] < x[2]:
    print(x[0]*x[1])
else:
    print(x[2])

Solution (Python):
N,A,B = map(int,input().split())
if A>=(B/N):
    print(B)
else:
    print(N*A)

Solution (Python):
n, a, b = map(int, input().split())

if n * a < b:
  print(n * a)
else:
  print(b)

Solution (Python):
N,A,B=map(int,input().split())
print(min(N*A, B))

Solution (Python):
N, A, B = map(int,input().split())
print(min(N*A,B))

Solution (Python):
N, A, B = map(int, input().split())

print(min(N*A,B))

Solution (Python):
n,a,b=input().strip().split()
n,a,b=[int(n),int(a),int(b)]

if n*a>b:
  print(b)
else:
  print(n*a)

Solution (Python):
n,a,b=[int(i) for i in input().split()]
if(n*a<=b):
    print(n*a)
else:
    print(b)

Solution (Python):
N,A,B = [int(zz) for zz in input().split()]
i = N*A
if i <= B:
    print(i)
elif i >= B:
    print(B)

Solution (Python):
N,A,B=map(int, input().split())
print(min(N*A,B))

Solution (Python):

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

Train = A * N
Taxi = B

if Train > Taxi:
    print(Taxi)
else:
    print(Train)

Solution (Python):
N,A,B = map(int,input().split())
alpha = N*A
if B <= alpha:
  print(B)
  
else:
  print(alpha)

Solution (Python):
n, a, b = map(int,input().split())
if n*a > b:
    print(b)
else:
    print(n*a)

Solution (Python):
N,A,B = map(int,input().split())
if N * A < B:
    print(N * A)
elif N * A > B:
    print(B)
else:
    print(B)

Solution (Python):
N,A,B=map(int,input().split())
if N*A >=B:
  print (B)
else:
  print(N*A)

Solution (Python):
n, a, b = map(int, input().split())
print(n * a if n * a < b else b)

Solution (Python):
N, A, B = map(int, input().split())

li = [N*A,B]
print(min(li))

Solution (Python):
N, A, B = map(int, input().split())

x = N*A
y = B

li = [x,y]
print(min(li))

Solution (Python):
n,a,b = map(int, input().strip().split())

score = n*a
if b<score:
    score = b
    
print(score)

Solution (Python):
N,A,B = map(int,input().split())
print(min(N*A, B))

Solution (Python):
n = list(map(int,input().split()))
print(min(n[0]*n[1],n[2]))

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

Solution (Python):
s = [int(i) for i in input().split()]
print(s[0]*s[1])    if (s[0]*s[1] < s[2])  else print(s[2])

Solution (Python):
n,a,b = map(int,input().split())
print(min(n*a,b))

Solution (Python):
p=input().rstrip().split(' ')
print(min((int(p[0])*int(p[1])),int(p[2])))

Solution (Python):
n, a, b = map(int, input().split())

print(min(n * a, b))

Solution (Python):
s = input()
splitted_s = s.split(" ") 
n = int(splitted_s[0])
a = int(splitted_s[1])
b = int(splitted_s[2])

if n*a<b:
  print(n*a)
else:
  print(b)

Solution (Python):
n,a,b = [int(i) for i in input().split()]
print(min(n*a,b))

Solution (Python):
n,a,b=map(int,input().split())
print(min(a*n,b))

Solution (Python):
n, a, b = map(int, input().split())

print(min(b, n * a))

Solution (Python):
a, b, c = map(int,input().split())
print(min(a*b, c))

Solution (Python):

n, a, b = list(map(int, input().split()))
if n*a < b:
	print(n*a)
else:
	print(b)

Solution (Python):
inn = input().split(' ')
inn = [int(i) for i in(inn)]
print(min(inn[0]*inn[1], inn[2]))

Solution (Python):
n, a, b =map(int, input().split(' '))

print(min([n*a, b]))

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

Solution (Python):
x =  [int(s) for s in input().split()]
if(x[0]*x[1]<x[2]):
  print(x[0]*x[1])
else:
  print(x[2])

Solution (Python):
import numpy as np

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

Solution (Python):
n,a,b=map(int,input().split())

if n*a>b:
  print(b)

else:
  print(n*a)

Solution (Python):
li=list(map(int,input().split()))

if li[0]*li[1]>li[2]:
  print(li[2])
else:
  print(li[0]*li[1])

Solution (Python):
n, a, b = map(int, input().split())
print(b if n * a > b else n * a)

Solution (Python):
a,b,c=map(int,input().split())
m = a*b
n = c
if m<=n:
  print(m)
  
else:
  print(n)

Solution (Python):
a, b, c = map(int, input().split())

print(min(a*b, c))

Solution (Python):
n, a, b = map(int,input().split())
num = n*a
print(min(num,b))

Solution (Python):
n,a,b=map(int,input().split())

print( min(n*a,b) )

Solution (Python):
N, A, B = map(int, input().split(" "))
print(min(A*N,B))

Solution (Python):
n, a, b = map(int, input().split())
print(min(n * a, b))

Solution (Python):
N,A,B=map(int, input().split())

if N*A>B:
  print(B)
else:
  print(N*A)

Solution (Python):
n, a, taxi =map(int, input().split())

train = n*a

if train<taxi:
  print(train)
else:
  print(taxi)

Solution (Python):
a,b,c=input().split()
a1=int(a)
b1=int(b)
c1=int(c)
d=a1*b1
if d<=c1:
  print(d)
else:
  print(c1)

Solution (Python):
n, a, b = input().split()
n = int(n)
a = int(a)
b = int(b)
print("{}".format(min(n*a, b)))

Solution (Python):
def minimizer(n,a,b):
  first=n*a
  second=b
  if first>second:
    return second
  else: 
    return first

inputing=input()
input_sep=inputing.split(" ")
input_sep=[int(i) for i in input_sep]
print(minimizer(int(input_sep[0]),int(input_sep[1]),int(input_sep[2])))

Solution (Python):
n,a,b = map(int,input().split())
if n*a >= b:
  print(b)
else:
  print(n*a)

Solution (Python):
n, a, b = map(int, input().split())
print(b if b < a*n else a*n)

Solution (Python):
N, a, b = map(int,input().split())
print(min(N * a, b))

Solution (Python):
n,a,b = map(int,input().split())

print(min(n*a,b))

Solution (Python):
N, A, B = map(int, input().split())
print(min(N * A, B))

Solution (Python):
import sys

n,a,b=(int(x) for x in input().split())

train=n*a
taxi=b
if train>=taxi:
  print(taxi)
else:
  print(train)

Solution (Python):
N, A, B = map(int, input().split())
train_sum = N * A
print(min(train_sum, B))

Solution (Python):
n,a,b = map(int,input().split())

print(min(n*a,b))

Solution (Python):
data = input().split()
N = int(data[0])
A = int(data[1])
B = int(data[2])
Bp = B / N
total = []

for i in range(N+1):
    total.append(A*i + Bp*(N-i))
min = total[0]
for i in range(len(total)):
    if min > total[i]:
        min = total[i]
pri_min = int(min)
print(pri_min)

Solution (Python):
n,a,b =map(int,input().split()) 
answer =min(n*a,b)
print(answer)

Solution (Python):
n,a,b=map(int,input().split())
print(min(n*a,b))

Solution (Python):
n, a, b = [int(w) for w in input().split()]
print(min(n*a,b))

Solution (Python):
N, A, B = map(int, input().split())

print(min(N*A,B))

Solution (Python):
n,a,b = map(int,input().split())
print(min([n*a,b]))

Solution (Python):
N, A, B = map(int, input().split())
print(min(N * A, B))

Solution (Python):
n, a, b = map(int, input().split())
print(min(n*a, b))

Solution (Python):
a = [int(i) for i in input().split()]

if a[0]*a[1]<=a[2]:
  print(a[0]*a[1])
  
else:
  print(a[2])

Solution (Python):
N,A,B = map(int,input().split())
print(min(N*A,B))

Solution (Python):
N, A, B = map(int, input().split())

print(min(N * A, B))

Solution (Python):
D = map(int, raw_input().split())
n = D[0]
a = D[1]
b = D[2]

if n*a < b:
  print n*a
elif n*a == b:
  print n*a
else:
  print b

Solution (Python):
n,a,b = (int(x) for x in input().split())
if n * a < b:
    print(n*a)
else:
    print(b)

Solution (Python):
import sys
from fractions import gcd
import bisect
from operator import itemgetter

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()

s = lambda h: [list(map(int, stdin.readline().split())) for i in range(h)]



n, a, b = na()

train = a * n
taxi = b


print(min([train, taxi]))

Solution (Python):
n, a, b = map(int, input().split())
if n*a < b:
    print(n*a)
else:
    print(b)

Solution (Python):
N, A, B = [int(i) for i in input().split(" ")]

print(min(N * A, B))

Solution (Python):
n,a,b=map(int,input().split())
print(min([n*a,b]))

Solution (Python):
A = list(map(int, input().split()))

if (A[0]*A[1] > A[2]) :
    print(A[2])
else :
    print(A[0]*A[1])

Solution (Python):
n,a,b=map(int,input().split())
c=n*a
if(c<b):
  print(c)
else:
  print(b)

Solution (Python):
N,A,B=map(int,input().split())
densha=A*N
if densha > B:
    print(B)
else:
    print(densha)

Solution (Python):
N, A, B = map(int, input().split())


if N * A > B:
  print(B)
else:
  print(N*A)

Solution (Python):
n,a,b = map(int,input().split())

z = n * a
if z > b:
  print(b)
else:
  print(z)

Solution (Python):
n=list(map(int,input().split()))
print(min(n[0]*n[1],n[2]))

Solution (Python):
N,A,B = map(int, input().split())

print(min(N*A,B))

Solution (Python):
import sys
import math

def main():
    input = sys.stdin.readline
    N, A, B = map(int, input().split())
    
    train = N * A
    taxi = B
    
    print(min(train, taxi))
        
if __name__ == '__main__':
    main()

Solution (Python):
N,A,B = map(int,input().split())
if N * A < B :
    print(N * A)
else :
    print(B)

Solution (Python):
N, A, B = map(int, input().split())
if N * A == B:
    print(B)
elif N * A > B:
    print(B)
else:
    print(N * A)

Solution (Python):
N, A, B = map(int, input().split())
if N*A < B:
  print(N*A)
else:
  print(B)

Solution (Python):
n, a, b = map(int, input().split())

ans_min = n * a

for i in range(0, n + 1):
    ans = i * a + (n - i) * b / n
    if ans < ans_min:
        ans_min = int(ans)

print(ans_min)

Solution (Python):
n, a, b = map(int, input().split())

print(min(n*a, b))

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

a=N*A
b=B

if a<=b:
  print(a)
else:
  print(b)

Solution (Python):
n,a,b=map(int,input().split())

print(min(n*a,b))

Solution (Python):
a = list(map(int, input().split()))

train=a[0]*a[1]
taxi=a[2]
if (train<=taxi):
  print(train)
else:
  print(taxi)

Solution (Python):
n,a,b = map(int, input().split())
if n*a>b:
    print(b)
else:
    print(n*a)

Solution (Python):
N,A,B=map(int,input().split())
print(min(N*A,B))

Solution (Python):
n, a, b = map(int, input().split())
print(min(n * a, b))

Solution (Python):
n,a,b=map(int,input().split())
print(min(n*a,b))

Solution (Python):
N,A,B = map(int,input().split())
if N*A > B:
    print(B)
else:
    print(N*A)

Solution (Python):


import sys
import math
import collections
import itertools
def input(): return sys.stdin.readline().strip()
def gcd(x, y): return y if x % y == 0 else gcd(y, x % y)
def lcm(x, y): return (x * y) // gcd(x, y)
MOD = 10 **9 + 7



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



print(min(A * N, B))

Solution (Python):
N, A, B = map(int, input().split())
NA = N * A
if NA < B:
    print(NA)
else:
    print(B)

Solution (Python):
n, a, b = map(int, input().split())

if n*a > b:
    print(b)
else:
    print(n*a)

Solution (Python):
N,A,B = list(map(int,input().split()))
if N*A < B :
    print(N*A)
else :
    print(B)

Solution (Python):
N,A,B=map(int,input().split())
if N*A < B:
    print(N*A)
else:
    print(B)

Solution (Python):
a,b,c = map(int,input().split())
print(min(b*a,c))

Solution (Python):
a,b,c = map(int,input().split())
if a*b < c:
	print(a*b)
else:
	print(c)

Solution (Python):
n,a,b=map(int, input().split())
if n*a >=b:
  print(b)
else:
  print(n*a)

Solution (Python):
N,A,B = map(int,input().split())
print(min(N*A,B))