What types of ships have both ships that have Panama Flags and Malta flags?
return ships  ;return flags of  #1 ;return #2 which are  Panama ;return #2 which are  Malta ;return ships  of  both #3 and  #4 ;return types of  #5
['select', 'project', 'filter', 'filter', 'intersection', 'project']