Cathy and Fred are the only candidates running for class president. Fred got 45% of the votes. If all 40 students in the class voted. How many votes did Fred receive? How many votes did Kathy receive