Exponential Generating Functions

Example .1 Find an exponential generating function for the number of permutations with repetition of length n of the set {a,b,c}, in which there are an odd number of as, an even number of bs, and any number of cs.