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