import java.util.*;
import java.util.stream.*;
import java.lang.*;
import java.io.*;

class Ideone {
	public static void main (String[] args) throws java.lang.Exception{
        List<String> strs = Arrays.asList("anus", "pyos");
        List<Integer> ints = Collections.singletonList(265);

        Stream.of(strs, ints)
                .flatMap(Collection::stream)
                .filter("anus"::equals)
                .findAny()
                .ifPresent(System.out::println); // anus

        Stream.of(strs, ints)
                .flatMap(Collection::stream)
                .filter(o -> Integer.valueOf(265).equals(o))
                .findAny()
                .ifPresent(System.out::println); // 265

        Stream.of(strs, ints)
                .flatMap(Collection::stream)
                .parallel()
                .filter("ty hui"::equals)
                .findAny()
                .ifPresent(System.out::println); // no output
	}
}