Number of Possible Sets of Closing Branches