<s>[INST] A web development company wants to allocate resources for three projects based on the perceived risk levels. The risk levels are typically categorized as high, medium, and low. Each project is assigned a risk score from 1 to 10. The company wants to allocate resources according to the following rules:

- Assign 0.5 of the total resources to the project with the highest risk score, provided the risk score is 8 or higher.
- Otherwise, assign 0.4 of the total resources to that project.
- If one of the projects has a risk score of exactly 5, allocate an additional 0.05 of total resources to it.
- The remaining resources are evenly distributed among all the projects.

Project A has a risk score of 6, project B has a risk score of 8, and project C has a risk score of 5.

What is the percentage of total resources allocated to each project?[/INST]