complete solution

Top