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