Sequence, zipWith and boolean algebra.