What are department ids for departments with managers managing more than 3 employees?
return departments ;return managers of  #1 ;return employees of  #2 ;return number of  #3 for each  #2 ;return #1 where #4 is  higher than 3 ;return department ids of  #5
['select', 'project', 'project', 'group', 'comparative', 'project']