[ f for e in d if f() for g in h if g() ] [ c + 1 for b in a ]