<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def split_evenly(n, chunks):
 """Split an integer into evenly distributed list [3, 2, 2] [4, 4, 4] [4, 4, 4, 4, 4, 3, 3, 3, 3, 3] Traceback (most recent call last):
 ChunkingError: Number of chunks is greater than number """

    if n < chunks:
        raise ChunkingError("Number of chunks is greater than number")
    if n % chunks == 0:
        # Either we can evenly split or only 1 chunk left
        return [n / chunks] * chunks
    # otherwise the current chunk should be a bit larger
    max_size = n / chunks + 1
    return [max_size] + split_evenly(n - max_size, chunks - 1)