Nancy has a bag that contains the following shapes: 12 hexagons, 7 pentagons, 20 octagons, 16 parallelograms, 5 trapezoids. She will randomly select one shape from this bag. What is the probability that the shape Nancy selects will have 5 or more sides?