A teacher is writing a quiz. He wants the ratio of the number of easy questions to the total number of questions to be 10:14. If the teacher wants fewer than 10easy questions on the quiz, how many easy questions should he write?