def splitParents(parents):
  """Splits the input string into at most 3 parts:
  - father's first name
  - mother's first name
  - mother's last name.
  
  The input is in the format:
    "{father_first_name},{mother_first_name} {mother_last_name}"
  """
  split = parents.split(',', 1)
  if len(split) == 1:
    father = ''
    mother = parents
  else:
    father = split[0].strip()
    mother = split[1].strip()
  motherSplit = mother.rsplit(' ', 1)
  if not father:
    return motherSplit
  return [father] + motherSplit