What are the official names of cities that have population over 1500 or less than 500?
return cities ;return population of  #1 ;return #1 where #2 is  over 1500 ;return #1 where #2 is  less than 500 ;return #3 ,  #4 ;return the  official names of  #5
['select', 'project', 'comparative', 'comparative', 'union', 'project']