import java.util.stream.Stream;
import java.util.function.Predicate;
import java.util.Optional;
class Interesting {
public <T> Optional<? extends Predicate<? super T>> with(Stream<Predicate<? super T>> predicates) {
return predicates.map(a -> a).reduce(Predicate::or);
}
public static void main
(String[] args
) {} }
aW1wb3J0IGphdmEudXRpbC5zdHJlYW0uU3RyZWFtOwppbXBvcnQgamF2YS51dGlsLmZ1bmN0aW9uLlByZWRpY2F0ZTsKaW1wb3J0IGphdmEudXRpbC5PcHRpb25hbDsKCmNsYXNzIEludGVyZXN0aW5nIHsKICBwdWJsaWMgPFQ+IE9wdGlvbmFsPD8gZXh0ZW5kcyBQcmVkaWNhdGU8PyBzdXBlciBUPj4gd2l0aChTdHJlYW08UHJlZGljYXRlPD8gc3VwZXIgVD4+IHByZWRpY2F0ZXMpIHsKICAgIHJldHVybiBwcmVkaWNhdGVzLm1hcChhIC0+IGEpLnJlZHVjZShQcmVkaWNhdGU6Om9yKTsKICB9CiAgCiAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykge30KfQ==