Here due to lack of 3 input AND & OR Gates,it is implemented in the Schematic by using 2 input AND & OR Gates.