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



Sample input:
4 2 9


Sample output:
8

Submission status: Accepted

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

Submission status: Accepted

Solution code:
elem = input().split(" ")
tx = int(elem[0]) * int(elem[1])
print(tx if tx < int(elem[2]) else int(elem[2]))

Submission status: Accepted

Solution code:
import sys
p = list(map(int, input().split(" ")))
n = p[0]
a = p[1]
b = p[2]

if a * n <= b:
    print(a * n)
    sys.exit()
print(b)

Submission status: Accepted

Solution code:
N, A, B = (int(i) for i in input().split())                                                                                                       
if (N*A > B):
   print(B)
else:
   print(N*A)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys 
import numpy as np 

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

TorT()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
N,A,B=input().split()

train=int(N)*int(A)

if int(B)>int(train):
    print(int(train))
else:
    print(int(B))

Submission status: Accepted

Solution code:
n, a, b = [ int(_) for _ in input().split() ]
train = a * n
taxi = b
ans = min(train, taxi)
if ans == train:
    print(train)
else:
    print(taxi)

Submission status: Accepted

Solution code:
#!/usr/local/bin/python3
#coding:utf-8
#import numpy as np


def main():

   in0 = input()

   IN = in0.split(' ')

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

   train = N*A
   taxi = B

   if(train<taxi):
      print ("%s" % (train))
   else:
      print ("%s" % (taxi))
      



if __name__ == "__main__":
   main()

Submission status: Accepted

Solution code:
import numpy as np


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

N = i[0]
A = i[1]
B = i[2]


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
p = list(map(int, input().strip().split()))
max = 0
if p[0]*p[1] < p[2]:
  print(p[0]*p[1])
else:
  print(p[2])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
line = input().split()
n = int(line[0])
a = int(line[1])
b = int(line[2])
res = min(n*a, b)
print(res)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

print(min(n*a, b))

Submission status: Accepted

Solution code:
a = input()
l = a.split()

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

Submission status: Accepted

Solution code:
n, t, ta = list(map(int, input().split()))

t *= n

if t <= ta:
    print(t)

else:
    print(ta)

Submission status: Accepted

Solution code:
numbers = input().split()
if(int(numbers[0])*int(numbers[1]) < int(numbers[2])):
  ans = int(numbers[0])*int(numbers[1]) 
else:
  ans = int(numbers[2])
 
print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# coding: utf-8
# 133A

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

if B >= t:
    print(t)
else:
    print(B)

Submission status: Accepted

Solution code:
nab = input().split()
n = int(nab[0])
a = int(nab[1])
b = int(nab[2])

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

Submission status: Accepted

Solution code:
Num, Train_money, Taxy_Sum_Money = (int(i) for i in input().split())
Train_Sum_Money = Num * Train_money
print(min(Train_Sum_Money, Taxy_Sum_Money))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    N, A, B = [int(a) for a in input().split()]
    print(min(B, N * A))


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n,a,b = list(map(int,input().split()))
afee = n * a
bfee = b
flist = [afee, bfee]
flist.sort()
print(flist[0])

Submission status: Accepted

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

Submission status: Accepted

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

x=min([N*A,B])

print(x)

Submission status: Accepted

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

train = A*N
taxi  = B

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

Submission status: Accepted

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

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

Submission status: Accepted

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

C=A*N
if C<=B:
  print(C)
elif C>B:
  print(B)

Submission status: Accepted

Solution code:
# スペース区切りの整数の入力
n, a, b = map(int, input().split())

# 出力
print("{}".format(b if n*a > b else n*a))

Submission status: Accepted

Solution code:
X = list(map(int, input().split()))

N = X[0]
A = X[1]
B = X[2]

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

print(min(N*A, B))

Submission status: Accepted

Solution code:
n, t, ta = list(map(int, input().split()))

t *= n

if t <= ta:
    print(t)

else:
    print(ta)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def TorT():
	N, A, B = map(int, input().split())
	if A * N < B:
		total = A * N
	else:
		total = B
	print(total)

TorT()

Submission status: Accepted

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

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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
N, A, B = [int(c) for c in input().split()]
print(N*A if N*A<B else B)

Submission status: Accepted

Solution code:
import functools as ft
import heapq
import itertools as it
import logging
import unittest
from collections import (
    OrderedDict,
    defaultdict,
    namedtuple,
    Counter,
)

import numpy as np

_ = [ft, it, np, heapq, namedtuple, Counter, defaultdict, OrderedDict]

debug = logging.getLogger(__name__).debug


def input_ints():
    return list(map(int, input().strip().split()))


def _main():
    n, a, b = input_ints()
    train_rate = a
    taxi_rate = b / n
    if train_rate < taxi_rate:
        print(a * n)
    else:
        print(b)


class Test(unittest.TestCase):
    def setUp(self):
        import run
        self._test = run

    def test_main(self):
        self._test.test_files(self, _main)


if __name__ == '__main__':
    _main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

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

Submission status: Accepted

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

ans = min([b,n*a])

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys

for line in sys.stdin:
  N, A, B = map(int, line.split())

print min(N*A, B)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = input().split()

a = int(n[0]) * int(n[1])
b = int(n[2])

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

Submission status: Accepted

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

bus_fare = N * A

if bus_fare > B:
    print(B)
else:
    print(bus_fare)

Submission status: Accepted

Solution code:

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A=list(map(int,input().split()))
a=A[0]*A[1]
if a<A[2]:
    print(a)
else:
    print(A[2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys


def main():
    N, A, B = [int(s) for s in sys.stdin.readline().strip().split()]
    print(min(A * N, B))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
   
if __name__ == '__main__':
    n,a,b  = list(map(int, input().split(" ")))
  
    result = 0
    if a*n > b:
        result = b
    else:
        result = a*n
   
    print(result)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
p=list(map(int,input().split()))

ans = p[0] * p[1] if p[0] * p[1] < p[2] else p[2]

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

C = N*A

print(min(B, C))

Submission status: Accepted

Solution code:
import os, sys, re, math

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python

from collections import deque
import itertools as ite
import sys
import math

sys.setrecursionlimit(1000000)

INF = 10 ** 18
MOD = 10 ** 9 + 7

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

Submission status: Accepted

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

Tr = A * N
Tx = B

if Tr < Tx:
    print(Tr)
else:
    print(Tx)

Submission status: Accepted

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

print(min(n*a,b))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A=[int(i) for i in input().split()]
n=A[0]
a=A[1]
b=A[2]
c=n*a

if c>b:
	print(b)
else:
	print(c)

Submission status: Accepted

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

D = N * A

if D < B :
    print(D)
else : print(B)

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from sys import stdin


N,A,B = [int(x) for x in stdin.readline().rstrip().split()]

total_train = N * A
total_tac = B

if total_train <= total_tac:
    print(total_train)
else:
    print(total_tac)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():

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

    Train = A * N
    Taxi = B

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

    return


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

train = A*N
taxy = B

if train > taxy:
    print(taxy)
else:
    print(train)

Submission status: Accepted

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

Submission status: Accepted

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


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

if __name__=="__main__":
    main()

Submission status: Accepted

Solution code:
a = input().split()
li = [int(i)for i in a]
print(min(li[0]*li[1],li[2]))

Submission status: Accepted

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

x = n*a

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

Submission status: Accepted

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


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

Submission status: Accepted

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

Submission status: Accepted

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

train_fee = N * A
taxi_fee = B

if train_fee >= taxi_fee:
  print(taxi_fee)
else:
  print(train_fee)

Submission status: Accepted

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

Submission status: Accepted

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

train = n * a
taxi = b

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

Submission status: Accepted

Solution code:
mini=10000
N,A,B=(int(x) for x in input().split())
a=min(A*N,B)
print(a)

Submission status: Accepted

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

train = A * N
tax = B

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
lista = input().split()
n = int(lista[0])
a = int(lista[1])
b = int(lista[2])

print(min(b, a*n))

Submission status: Accepted

Solution code:
s = input().split()
train=int(s[0])*int(s[1])
if train<int(s[2]):
    print(train)
else:
    print(s[2])

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

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

cost_train = N*A
cost_taxi = B

if cost_train <= cost_taxi:
    print(cost_train)
else:
    print(cost_taxi)

Submission status: Accepted

Solution code:
N, A, B = map(int, input().split())
sum_train = N * A
sum_taxi = B
if sum_train < sum_taxi:
    print("{}".format(sum_train))
else:
    print("{}".format(sum_taxi))

Submission status: Accepted

Solution code:
a=[]#入力画面の二文字を別々の文字に格納
a=input().split(" ")
N=int(a[0])
A=int(a[1])
B=int(a[2])
X=N*A
if X>=B:
    print(B)
else:
    print(X)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# A T or T

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

train = A*N
taxi  = B

print(int(min(train, taxi)))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

main()

Submission status: Accepted

Solution code:
a = input()

a = a.split()
lista = [int(i) for i in a]

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def read():
    N, A, B = list(map(int, input().strip().split()))
    return N, A, B


def solve(N, A, B):
    if N * A < B:
        return N * A
    else:
        return B


if __name__ == '__main__':
    inputs = read()
    print("%d" % solve(*inputs))

Submission status: Accepted

Solution code:
l = list(map(int,input().split()))
N = l[0]
A = l[1]
B = l[2]

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
def main():
    N,A,B = map(int,input().split())
    NA = N*A
    if NA < B:
        print(NA)
    else:
        print(B)
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
inp = input().split()
n = int(inp[0])
a = int(inp[1])
b = int(inp[2])

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

Submission status: Accepted

Solution code:
n, a, b = input().split()
n = int(n)
a = int(a)
b = int(b)
train = n * a
taxi = b
if train < taxi:
    print(train)
else:
    print(taxi)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = input().split()
a = int(num[0]) * int(num[1])
b = int(num[2])
print(min(a,b))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(100000)

def intinput(): return map(int,sys.stdin.readline().split())

n,a,b=intinput()
print(n*a if n*a<b else b)

Submission status: Accepted

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

de = N * A
ta = B

if de >= ta:
    print(ta)
else:
    print(de)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
_input = [i for i in open(0).read().split('\n') if i]
n, a, b = [int(i) for i in _input[0].split()]
print(min(n * a, b))

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    n, a, b = map(int, input().split())
    x = n * a
    if x <= b:
        print(x)
    else:
        print(b)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

train_cost = N * A
taxi_cost = B

if train_cost < taxi_cost:
    print(train_cost)
else:
    print(taxi_cost)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(min(A*N,B))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
str = input()

N, A, B = str.split(" ")

a = int(N) * int(A)
b = int(B)

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

Submission status: Accepted

Solution code:
N, A, B = map(int,input().split()) # 複数の数字を変数に格納

if N*A > B:
    result = B
else:
    result = N*A

print(result)

Submission status: Accepted

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

Submission status: Accepted

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

train = A * N
taxi = B

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

Submission status: Accepted

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

Submission status: Accepted

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

tmp = N * A

print(min(tmp,B))

Submission status: Accepted

Solution code:
n, train_yen, taxi_yen = map(int, input().split())

if n * train_yen < taxi_yen:
    print(n * train_yen)
else:
    print(taxi_yen)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import numpy as np
from sys import stdin

A,B,C=[int(x) for x in stdin.readline().rstrip().split()]

print(min(A*B,C),flush=True)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys


def solve(N: int, A: int, B: int):
    train = N * A
    taxi = B

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

    return


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word

    tokens = iterate_tokens()
    N = int(next(tokens))  # type: int
    A = int(next(tokens))  # type: int
    B = int(next(tokens))  # type: int
    solve(N, A, B)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
N, A, B = [int(x) for x in input().strip().split()]
if N*A > B: print(B)
else: print(N*A)

Submission status: Accepted

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

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

Submission status: Accepted

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


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

Submission status: Accepted

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

sum = 0

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

print(sum)

Submission status: Accepted

Solution code:
d = list(map(int, input().split()))
N = d[0]
A = d[1]
B = d[2]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin

input = [int(x) for x in stdin.readline().rstrip().split()]

N=input[0]
A=input[1]
B=input[2]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solve():
    n, a, b = map(int, input().split())
    s = min(n * a, b)
    print(s)

if __name__ == "__main__":
    solve()

Submission status: Accepted

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

densya = a*b

if densya > c:
  print(c)
else:
  print(densya)

Submission status: Accepted

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

den = N * A
ans = min(den,B)

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N,a,b = map(int,input().split())
densya = 0
taxi = 0
densya = N*a
taxi = b
if densya == taxi:
    print(densya)
elif densya < taxi:
    print(densya)
else:
    print(taxi)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
from sys import exit

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
n, a, b = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import numpy as np

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

N = int(N)
A = int(A)
B = int(B)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
sen = input()

x = sen.split()

n = int(x[0])
a = int(x[1])
b = int(x[2])

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

Submission status: Accepted

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

print(min(a * n, b))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
N,A,B = map(int, input().split())
print((B < (N*A)) and B or N*A)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Jul  7 20:52:12 2019

@author: YudNK
"""

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

train = A * N
taxi = B

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

Submission status: Accepted

Solution code:
input = input().split()

train = int(input[0])*int(input[1])
taxy = int(input[2])

print(min(train,taxy))

Submission status: Accepted

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

Submission status: Accepted

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

moneyA = N*A
moneyB = B

if moneyA<moneyB:
    print(moneyA)
else:
    print(moneyB)

Submission status: Accepted

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

Train = A * N

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