Find the captain rank that has some captains in both Cutter and Armed schooner classes.
return Cutter classes ;return Armed schooner classes ;return captains of #1 ;return captains of #2 ;return the  captain rank of both #3 and  #4
['select', 'select', 'project', 'project', 'intersection']