input: 
  from typing import List, Dict
  
  
  def convert_to_dict(lsts: List[List[str]]) -> Dict[str, List[str]]:
      """
      Convert a list of lists into a dictionary where the first element of each
      list is the key and the rest of the elements are the values.
  
      Example:
      >>> convert_to_dict([["apple", "red", "green"], ["banana", "yellow", "green"]])
      {'apple': ['red', 'green'], 'banana': ['yellow', 'green']}
      """
      result = {}
      for lst in lsts:
          key = lst[0]
          val = lst[1:]
          result[key] = val
      return result
  
output:     result = {}
      for lst in lsts:
          key = lst[0]
          val = lst[1:]
          result[key] = val
      return result