Permutations:
n P k = n!/((n-k)!)

So 10 P 10 = 10!

10!/4! would be if you have 10 smilies and only 6 slots to fill.

That's if you can't use twice the same smilie.