finished program to grab city sales