Task: Question Generation
Input (English): #1 return dorms 
#2 return gender of  #1 
#3 return #1 where #2 is  X 
#4 return capacities of  #3 
#5 return average of  #4 
#6 return sum of  #4 
#7 return #5 ,  #6
Output (English): What is the average and total capacity for all dorms who are of gender X?