Solution to Task 11