Out of 30 students in a class, 6 like football, 12 like cricket and remaining like tennis. Find the ratio of
(a) Number of students liking football to number of students liking tennis.
(b) Number of students liking cricket to total number of students.