What is the correct inventory value if the company applies the lower of cost or market to each of the following?