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