def split_list(l: list, n: int = 1) -> list:
    """Split list into n parts"""
    length = len(l)
    split = []
    for i in range(n):
        split.append(l[i*length // n: (i+1)*length // n])
    return split