Applications of Combinations and Permutations