What is the strategy in solving UVA11729 Commando War problem?