A farm has a certain amount of grass. If 10 cows can eat all the grass in 9 days and 12 cows can eat all the grass in 7 days, assuming a constant rate of grass growth each day, how many days will it take for 24 cows to eat all the grass? Let's think step by step and output the final answer within \boxed{}.
user