IntermediateRating 1200
Arrangements of Letters
Print the number of distinct arrangements of the letters of the word (repeated letters make identical arrangements).
Input
One word (≤ 20 letters).
Output
A count.
Sample 1
Input
abc
Output
6
Sample 2
Input
aab
Output
3
Output appears here