Solved task#1