A goat can eat all the grass in a farmer's field in 4 days, whereas a cow can finish it in 6 days and a horse in 12 days. How long will it be before all the grass is eaten if all three animals graze in the field?