39. The number of those who passed and failed in an examination was in the ratio of 25: 4. Now if one more student appears for the exam and the number of failed students are reduced by 3 than before, then the ratio becomes 22: 3. Find the number of students who appeared in the examination initially: