solution of tasks

solution of tasks