Beatrix has a backpack that holds a maximum of 7 kg of wood. Large 3 kg logs are worth 5 coins each. Medium 2 kg logs are worth 3 coins each. Small 1 kg logs are worth half a coin.
How many logs of each size should Beatrix pack in her backpack to maximise the total worth?