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-----
4 2 9

-----Sample Output-----
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.

Difficulty: introductory

Starter code:

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

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

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

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

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

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

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


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


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

print(min(A * N, B))

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

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

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


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

print(min(n*a,b))

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

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

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

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

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

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

train = n * a
taxi = b

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



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

train = n * a
taxi = b

min_price = [train, taxi]
print(min(min_price))

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

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

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

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

print(min(N*A, B))

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

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

train = n * a
taxi = b

answer = min(train, taxi)
print(answer)


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

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

# 電車の料金
train = n * a
# タクシーの料金　b 円
taxi = b

print(min(train, taxi))

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



# 私たちはN人で旅行しようとしており、その交通手段として電車とタクシーがあります。電車を使うと1人あたりA円かかります。
# タクシーを使うとN人でB円かかります。全員の交通費の合計は最小でいくらになるでしょうか。

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

print(min(N * A,B))

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

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

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

D =[]

den = N * A
D.append(den)

D.append(B)

D.sort()

print((D[0]))


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

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


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

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

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

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

def __starting_point():
    main()
__starting_point()

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

train = N*A
taxi = B

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


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


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

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

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


# 電車代とタクシー代で小さい方を選ぶ
# 電車が安い
n,a,b = map(int, input().split())

if a * n <= b:
    print(a * n)
# タクシーが安い
else:
    print(b)

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

train = N * A

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

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

# A - T or T
# https://atcoder.jp/contests/abc133/tasks/abc133_a

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

result = N * A

if result >= B:
    result = B

print(result)


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

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

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

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

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

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



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


train = N * A
taxi = B

print(min(train, B))

#ABC133 A

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


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

train = N * A
taxi = B

print(min(train,taxi))

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

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

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

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

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

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

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

print(min(n * a,b))

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

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

ansA = N * A
ansB = B
print(min(ansA,ansB))

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

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

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

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

else:
    print(b)

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

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

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

  
# 133a

def atc_133a(input_value: str) -> int:
    NAB = input_value.split(" ")
    N = int(NAB[0])
    A = int(NAB[1])
    B = int(NAB[2])

    return min(N * A, B)


input_value = input()
print(atc_133a(input_value))

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

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

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

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

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

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

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

ninzu, train, taxi = map(int, input().split())

train_fare = ninzu * train
minimum_fee = min(taxi, train_fare)

print(minimum_fee)

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

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

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

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

if N * A > B:
    print(B)

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

if N * A == B:
    print(N * A)

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

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

N,A,B = 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=map(int,input().split())
print(min(n*a,b))

def main():
    n, a, b = list(map(int, input().split()))

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


def __starting_point():
    main()

__starting_point()

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

s = int(n*a)

if s >= b:
  print(b)
else:
  print(s)

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

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


# n:n人
# 電車：1人あたりa円
# タクシー：n人でb円
n, a, b = list(map(int, input().split()))

# 電車の場合
total = n * a

print((min(total, b)))


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

# N人*A円がB円より大きい場合
if N * A > B:
    print(B)
else:
    print(N * A)

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

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

train = A * N
taxi = B

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

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

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

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

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

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

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

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

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

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

def main():
    n, a, b = list(map(int, input().split()))
    print((min(n * a, b)))
    # import sys
    # sys.setrecursionlimit = 10 ** 7
    # input = sys.stdin.readline
    # rstrip()
    # (int(x) - 1 for x in input().split())
    pass


def __starting_point():
    main()

# def binary_search(*, ok, ng, func):
#     while abs(ok - ng) > 1:
#         mid = (ok + ng) // 2
#         if func(mid):
#             ok = mid
#         else:
#             ng = mid
#     return ok

__starting_point()