A company has beginning inventory of 12 units at a cost of $28 each on February 1. On February 3, it purchases 38 units at $30 each. 17 units are sold on February 5. Using the FIFO periodic inventory method, what is the cost of the 17 units that are sold?