That would be 6.
The median of a set of data is the middle number when u have ur data in order(from smallest to biggest). So here u have 22 numbers. The median would be the number between the 11th and 12th number. Both are 6 in this question so the median would be 6.
Hope this helps u:)