A machine can produce 240 widgets in 5 hours. If the machine operates at a constant rate, how many widgets can it produce in 8 hours? Let's think step by step and output the final answer within \boxed{}.
user