Two classes sat the same test. Class P has 20 students, with mean 62 marks and standard deviation 8 marks. Class Q has 30 students, with mean 72 marks and standard deviation 6 marks. All 50 scores are put into one list. What is the standard deviation of the combined list?