I\'m trying to write a function that will return the maximum value for a given capacity from a list of items.If two or more items have the same value, find the best possible com