sue has some ducks and some goats,if there are 36 legs altogether,what is the greatest number of goats possible

9 goats would have 36 legs, but Sue's got some ducks as well, i.e. at least two, so at least four legs belong to the ducks. That leaves 32 - which means 8 goats.