Optimal Prevention for Multiple Risks