What are the ranks of captains that are both in the Cutter and Armed schooner classes?
select rank from captain where class = 'Cutter' intersect select rank from captain where class = 'Armed schooner'