Parse this person name:

Gail Mahoney, 1842-1917, flourished 1868-1898
user
first_name: Gail
last_name: Mahoney
middle_names: []
temporal:
- start: 1842
  end: 1917
  type: life_span
- start: 1868
  end: 1898
  type: flourished
titles: []
extra_info: []
assistant