In an examination, the number of those who passed and the number of those who failed were in the ratio 25:4. If five more had appeared and the number of failures were 2 less than earlier, the ratio of those passed to failures would be 22:3. The number who appeared at the examination is