When a company does not keep up-to-date records of inventory values and must count inventory in order to calculate the cost of goods sold, the company is using the
A. Perpetual inventory system
B. Periodic inventory system
C. FIFO method
D. LIFO method