import itertools
print([
q for q in itertools.product((True, False), repeat=6)
if q == (
all(q[1:]), # 1. All of the below.
not any(q[2:]), # 2. None of the below.
all(q[:2]), # 3. All of the above.
any(q[:3]), # 4. One of the above.
not any(q[:4]), # 5. None of the above.
not any(q[:5]), # 6. None of the above.
)
])