What are the names of captains that have either the rank Midshipman or Lieutenant?
return captains ;return #1 that  have the  rank Midshipman ;return #1 that  have  the  rank Lieutenant ;return #2 ,  #3 ;return names of  #4
['select', 'filter', 'filter', 'union', 'project']