The minimum number of gates required to realise the expression Z=DABC+D¯¯¯¯¯¯¯¯¯¯¯¯ABC is