def split_list_in_chunks(lst, chunk_amount):
    """
    Splits list lst in lists of chunk_amount elements and returns them (as a list of lists)
    """
    chunk_amount = max(1, chunk_amount)
    return [lst[i:i + chunk_amount] for i in range(0, len(lst), chunk_amount)]