def METHOD_NAME(n, l):
    assert len(l) >= n
    if n == 0:
        return [[]]
    if len(l) == n:
        return [l]
    first = l[0]
    rest = l[1:]
    return [[first] + ss for ss in METHOD_NAME(n - 1, rest)] + METHOD_NAME(n, rest)