find even and odd number using java 8