Rama wrote 10 exams but passed 3. How many times did Rama fail?