Answer:
First, decide what counts as long lives (i.e. how many years it needs to live) then check for dogs where life span is <= that number. Then have the program remove all other dogs.
Step-by-step explanation:
3.5m questions
4.4m answers