Mental health analysis of intermediate students in relation to their hardness and academic achievement