In a class, there are 18 girls and 16 boys. The class teacher wants to choose one pupil for class monitor. What she does, she writes the name of each pupil on a card and puts then into a basket and mixes thoroughly. A child is asked to pick one card from the basket. What is the probability that the name written on the card is:
(i) the name of a girl
(ii) the name of a boy
Total number of possible outcomes, n(S) = 34
(i) Number of favorable outcomes, n(E) = 18
(ii) Number of favorable outcomes, n(E) = 16