

def subfinder(words_list, answer_list):
     matches = []
     start_indices = []
     end_indices = []
     for idx, i in enumerate(range(len(words_list))):
         if words_list[i] == answer_list[0] and words_list[i : i + len(answer_list)] == answer_list:
             matches.append(answer_list)
             start_indices.append(idx)
             end_indices.append(idx + len(answer_list) - 1)
     if matches:
         return matches[0], start_indices[0], end_indices[0]
     else:
         return None, 0, 0