Task: Text to Code
Input (English): Give the mean GNP and total population of nations which are considered US territory.
Output (English): SELECT avg(GNP) ,  sum(population) FROM country WHERE GovernmentForm  =  "US Territory"