Parse this person name:

John Cook (1644-1687, flourished 1659-1682)
user
first_name: John
last_name: Cook
middle_names: []
temporal:
- start: 1644
  end: 1687
  type: life_span
- start: 1659
  end: 1682
  type: flourished
titles: []
extra_info: []
assistant