At the beginning of the day, a haberdashery has 999 hats in stock. By the end of the day, they sold 125 hats. The following day, they sold an additional 421 hats. How many hats does the haberdashery have in stock at the end of the second day?