Classifying Prisms and Pyramids