Show the parties that have both representatives in New York state and representatives in Pennsylvania state.
return representatives  ;return states of  #1 ;return #1 where #2 is  New York ;return #1 where #2 is  Pennsylvania ;return parties of  both #3 and  #4
['select', 'project', 'comparative', 'comparative', 'intersection']