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