The solution

Well done!