The following table shows the responses of 45 students from two different classes who were asked which of five amusement rides at a school fair was their favorite.