R = {(1, 4), (1, 6), (2, 9), (3, 4), (3, 6),
(5, 4), (5, 6)}