input: from typing import List
  
  def split_names(full_names: List[str]) -> List[str]:
      """ Splits a list of full names into a list of first names and last names.
      If a full name contains multiple spaces, only the last part should be considered
      as the last name. For example, "John Smith Doe" should be split into "John"
      and "Smith Doe".
      >>> split_names(["John Smith", "Jane Doe", "John Smith Doe"])
      ["John", "Smith", "Jane", "Doe", "John", "Smith Doe"]
      """
      # Implement the function here
      pass
output:     
      result = []
      for name in full_names:
          parts = name.split()
          first_name = parts[0]
          last_name = ' '.join(parts[1:])
          result.append(first_name)
          result.append(last_name)
      return result
  