EPAM Systems interview question

To write code on strong manupulation