A factory produces 240 gadgets in 8 hours. If the production rate is constant, how many gadgets can the factory produce in 5 hours? Let's think step by step and output the final answer within \boxed{}.
user