AgileEngine Interview Question

Easy Java 8 programming challenge.