In a school, there were five teachers.
A and B were teaching Hindi and English.
C and D were teaching English and Geography.
D and A were teaching Mathematics and Hindi
E and B were teaching History and French.
Which of the following pairs was teaching both Geography and Hindi?
Hindi | Eng. | Geog. | Math | French | Hist. | |
A | Y | Y | N | Y | N | N |
B | Y | Y | N | N | Y | Y |
C | N | Y | Y | N | N | N |
D | Y | Y | Y | Y | N | N |
E | N | N | N | N | Y | Y |