A bookstore had 500 books at the beginning of the month. During the month, they sold 20% of their books. Afterward, they received a shipment that increased their stock by 10%. How many books do they have at the end of the month? Let's think step by step and output the final answer within \boxed{}.
user