What do you optimise for?
Number of lives saved? Number of Years saved (so better to save someone with a life expectancy of 40 years than 2 people of LE of 5 years each)? Do you remove ventilators from those who it's just delaying the inevitable? How to do you factor in non-covid cases?
Do you take into account how "good" the patient was? Were they self isolating or did they go to a pub lockin? Have they been hoarding toilet paper? Do you save the person who caught it performing CPR? What about the Key Worker who caught it while delivering food to the town? How about the dumbass politician who's encouraging people to ignore the restrictions?