a farmhouse shelters 23 animals some of them are ducks and the others are goats . altogether these animals have 62 legs. find how many ducks and goats are in The farmhouse.