In a certain exam, \((\frac{1}{10})^{th}\) of the students passed by 1st division, \((\frac{1}{4})^{th}\) of the students passed by 2nd division, and half of the students passed by 3rd division. If the remaining 54 students failed in the exam, then what was the total number of students who appeared in the exam?