Mister Exam

Expression (R→(G∧H))∧(¬R→(¬G∧¬H))

The teacher will be very surprised to see your correct solution 😉