EPAM Systems interview question

A statement was given and they expect you to write an aggregation using lambda.