Mister Exam

Expression Y=¬A&BvC

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