in C++, Integer dataSize is read from input. Then, strings and integers are read and stored into string vector inventoryList and integer vector quantityList, respectively. Lastly, integer quantityThreshold is read from input.
Ex: If the input is:
3
desk 61 cradle 59 shoerack 80
57
Then the output is:
desk
cradle
shoerack
Total: 3