A student appears for tests, I, II and III. The student is successful if he passes in tests I, II or I, III. The probabilities of the student passing in tests I, II and III are respectively p, q and 12. If the probability of the student to be successful is 12 then