<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def unweave(iterable, n=2):
 r"""Divide `iterable` in `n` lists, so that every `n`th element belongs to list `n`. Example: [[1, 4], [2, 5], [3]] """

    res = [[] for i in range(n)]
    i = 0
    for x in iterable:
        res[i % n].append(x)
        i += 1
    return res