A company had inventory of 17 units at a cost of $21 each on November 1. On November 2, they purchased 22 units at $22 each. On November 6, they purchased 18 units at $23 each. On November 8, they sold 42 units for $66 each. Using the LIFO perpetual inventory method, what was the cost of the 42 units sold?