The back to back stem and leaf plot below show exam scores from two different two different math classes. Which class has a greater mean score ? Which class has a greater median score?
Class A Class B
12 4 2
168 5 4
5779 6 16
66789 7 2566
12 8 00489
1 9 3567