<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_functions_and_classes(package):
 """Retun lists of functions and classes from a package. Parameters package : python package object Returns -------- list, list : list of classes and functions Each sublist consists of [name, member] sublists. """

    classes, functions = [], []
    for name, member in inspect.getmembers(package):
        if not name.startswith('_'):
            if inspect.isclass(member):
                classes.append([name, member])
            elif inspect.isfunction(member):
                functions.append([name, member])
    return classes, functions