complete 'Basics' problem 7