There are 5 mangoes and 4 apples. In how many different ways can a selection of fruits be made if
(i) fruits of the same kind are different
(ii) fruits of the same kind are identical?