A factory produces 500 gadgets every day. Each gadget requires 4 components to be assembled. If the factory has an initial stock of 10,000 components, how many days will pass until the factory runs out of components? Let's think step by step and output the final answer within \boxed{}.
user