/*
Make an inventory system. Items are divided into 3 categories, Medicinal, Combat, and Misc. Medicinal items are Healing
Potion and Water. Combat items are Sword and Shield. Everything else is misc. Given an array of items, determine which
category is worth the most money. An inventory can have no more than 10 items. If there is a tie, then the
alphabetically first category is returned. Below is a price table:
Combat:
Sword 5 DocuDollar
Shield 4 DocuDollar
9
Medicinal:
Healing Potion 3 DocuDollar
Water 2 DocuDollar
5
Misc:
Misc Item 1 DocuDollar
1
Example Input:
[
"Sword",
"Sword",
"Shield",
"Healing Potion",
"Healing Potion",
"Healing Potion",
"Water",
"Watermelon",
"Bottle",
"Pineapple"
]
Here, the highest category would be Combat with a value of 14 DocuDollars.
*/