It`s my solution of task