Mister Exam

Expression (¬((¬p)∨(p∧(¬q))))∧((q∧r)∨(p∧(¬r)))

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