In a year group of 113 students, 60 liked hockey, 45 liked rugby and 18 liked neither. Calculate the number of students who:
(a). liked both hockey and rugby.
(b). liked only hockey.