(i) p: If you watch television, then your mind is free and if your mind is free, then you watch television.
(ii) q: For you to get an A grade, it is necessary and sufficient that you do all the homework regularly.
(iii) r: If a quadrilateral is equiangular, then it is a rectangle and if a quadrilateral is a rectangle, then it is equiangular.