Mister Exam

Expression not(AorB)and(CandB)

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