The number of ways to arrange n distinct items in a row is:
n
Return n!n!n!.
Input
5
Output
120
solve(...)