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