EPAM Systems interview question

Stream Java 8