Solve 324 - Factorial Frequencies.