Esquire Corp. uses the periodic inventory system. During its first year of operations, Esquire made the following purchases (list in chronological order of acquisition):

• 20 units at $50
• 35 units at $40
• 85 units at $30
Sales for the year totaled 135 units, leaving 5 units on hand at the end of the year.
Ending inventory using the LIFO method is
A. $150
B. $177
C. $250
D. $1,540