A farmer has a total of animals, consisting of chickens and goats. Each chicken has legs, and each goat has legs. The farmer has at least one chicken and at least one goat. What is the difference in the number of legs between the greatest possible and least possible total number of legs among the animals?
3990
3992
3996
4000
4004