Given the task definition and input, reply with output. The task is to generate the correct answer for a given math problem.

Problem: the captain of a cricket team of 11 members is 26 years old and the wicket keeper is 3 years older . if the ages of these two are excluded , the average age of the remaining players is one year less than the average age of the whole team . find out the average age of the team .
23