A ellos no les GUSTAN los caballos. This means They don't like the horses. You would use "an" because you are talking about a group of people you are not apart of. But if you were apart of the group that "don't like horses" it would be gustamos so yea.