Parse this person name:

Thomas Mary (1362-1408, flourished 1385-1397)
user
first_name: Thomas
last_name: Mary
middle_names: []
temporal:
- start: 1362
  end: 1408
  type: life_span
- start: 1385
  end: 1397
  type: flourished
titles: []
extra_info: []
assistant