There are $3$ $C$s in total now with other $4$ letters remaining.  There are $\_4P\_4$ ways for us to arrange the $4$ letters\textquotesingle{} positions.  So the answer is $\_4P\_4=24$. 
In how many ways can the letters in $CPCCKBY$ be rearranged so that $C$ cannot be put in both ends and two or more $C$s do not appear together? 
Options:
a. $$24$$ 
b. $$18$$ 
c. $$64$$ 
d. $$9$$ 
e. $$14$$ 