Since i got the question wrong i took time to fully dissect the problem. Please add this to the explanation.
Hi I think our solution is clear enough, but thanks for sharing.