The solution of task for Targem