In an exam, questions of three difficulty levels — hard, medium, and easy — fetch respectively 7, 3, and 2 marks if correct and 0 if incorrect. Three students got 30 marks each but in three different ways, though the total number of questions correctly answered by each student was the same. Then what could be the total number of questions correctly answered by each of these students?