Consider the following dataset representing the ages of a group of 10 individuals:
22, 25, 29, 29, 30, 31, 34, 35, 36, 40
What is the median age of this group?