Task: Question Generation
Input (English): #1 return pets 
#2 return types of  #1 
#3 return ages of  #2 
#4 return average of  #3 for each  #2 
#5 return maximum of  #3 for each  #2 
#6 return #4 ,  #5
Output (English): Find the average and maximum age for each type of pet.