For the given combination of gates