what country borders both pakistan and russia?
return pakistan ;return russia ;return country that borders #1 ;return country that borders #2 ;return country in  both  #3 and #4
['select', 'select', 'project', 'project', 'intersection']