A charitable trust donates $28$ different books of Maths, $16$ different books of science and $12$ different books of social science to poor students. Each student is given maximum number of books of only one subject of their interest and each student got equal number of books. Find the total number of students who got books.