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