how to solve array manipulation

welcome to shbcf.ru