def Ql(filter_, thing):
 res = Q(filter_, thing)
 if isinstance(filter_, type({})):
  for k in res:
   res[k] = list(res[k])
  return res
 else:
  return list(res)

def Ql ( filter_ , thing ) : res = Q ( filter_ , thing ) if isinstance ( filter_ , type ( { } ) ) : for k in res : res [ k ] = list ( res [ k ] ) return res else : return list ( res )
same as q .