Parse this person name:

Juan Puig (1288-1332, flourished 1318-1327)
user
first_name: Juan
last_name: Puig
middle_names: []
temporal:
- start: 1288
  end: 1332
  type: life_span
- start: 1318
  end: 1327
  type: flourished
titles: []
extra_info: []
assistant