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:
9.4m questions
12.2m answers