Spanning Tree:
Note: Switches have to connect LANs with Root switch. Switches B2 and B3 are not connecting any LANs with Root, therefore than are not active at all → Only LANs can be Leaves of the spanning tree.