input: Write a function to 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.
  
  def convert_lists_to_dict(lists):
      result_dict = {}
      for lst in lists:
          if len(lst) > 0:
              key = lst[0]
              val = lst[1:]
              result_dict[key] = val
      return result_dict
  
  assert convert_lists_to_dict([["apple", "red", "green"], ["banana", "yellow", "green"]]) == {'apple': ['red', 'green'], 'banana': ['yellow', 'green']}
  assert convert_lists_to_dict([["carrot", "orange"], ["grape", "purple"]]) == {'carrot': ['orange'], 'grape': ['purple']}
  assert convert_lists_to_dict([]) == {}
  assert convert_lists_to_dict([["pineapple"]]) == {'pineapple': []}
output: def convert_lists_to_dict(lists):
      result_dict = {}
      for lst in lists:
          if len(lst) > 0:
              key = lst[0]
              val = lst[1:]
              result_dict[key] = val
      return result_dict