EPAM Systems interview question

Standart stack questions.