def split_name(name):
    """Split a name into a list of a first and last name."""
    names = name.split()

    last_names = []
    if len(names) == 1:
        last_names.append(name)
    else:
        for elem in reversed(names[1:]):
            if '.' in elem:
                break
            else:
                last_names.append(elem)
    last_name = ' '.join(reversed(last_names))
    first_name = ' '.join(names[: len(names) - len(last_names)])
    return [first_name, last_name]