A local bookstore has 30 copies of a bestseller when it opens on Monday morning. On Monday, it sells 6 copies of the book. On Tuesday, it sells 3 copies. On Wednesday, it receives a shipment containing 24 copies of the books and also sells 8 copies. How many books does the store have at the end of Wednesday?