Solution of task for Targem