Step by step Explanation:
Based on what we could deduce from the above statement, the items he should take are:
- must either take one single item or must leave the other behind,
- and only a whole amount of an item must be taken,
- in which an item cannot be taken more than once into his knapsack.
Hence, the thief needs to carefully determine items with an optimal value which still falls within his specified weight (W).