What is the average and oldest age for each gender of student?
return students ;return genders of #1 ;return ages of #2 ;return average of #3 for each  #2 ;return highest of #3 for each  #2 ;return #4 ,  #5
['select', 'project', 'project', 'group', 'group', 'union']