Also Wa15.

What are wrong:

1. There are 17 choices

2. Greedy: we choice lexiographic best result at each step.

unfortunately the problem is not of greedy type

full search according all solutions of

equation 10=k1+...+k17 helped to solve.

*Edited by author 21.10.2009 10:04*

I agree with you, svr. Full search works fine. There are only 5311735 different configurations.