Find the captain rank that has some captains in both Cutter and Armed schooner classes.
select rank from captain where class = 'Cutter' intersect select rank from captain where class = 'Armed schooner'