Jana gets the 1st cookie and the 25th cookie
No. of people
3 possible each gets 8 and then Jana gets the 25th one
4 possible each get 6 and then Jana gets the 25th one
5 not possible each get 5 and rhen Jana gets the 26th one
6 possible each get 4 and then Jana gets the 25th one
7 not possible each get 3 and then Jana gets the 22nd one
8 possible each get 3 and Jana gets the 25th one
9 not possible each get 2 and Jana gets the 19th
10 not possible each get 2 and Jana gets the 21st
11 not possible each get 2 and Jana gets the 23rd
12 possible each get 2 and then Jana gets the 25th
......
24 possible each get 1 and then Jana gets the 25th
26 possible each get 1 and Jana gets the 25th
Number of people possible
3 , 4 , 6 , 8, 12 , 24 , 26
Median = 8