In any district, the height may be exceeded by schools, public buildings, and buildings occupied exclusively as churches, cathedrals and temples, provided such buildings have the prescribed yards on all sides; stairways, tanks, ventilating fans, fire or parapet walls, chimneys and all similar equipment required to operate and maintain the building are also excepted from the height regulations.