LearnPy Hub
← Modules & the Standard Library problems
Easy

math.factorial

Read n and print n! using math.factorial, and the number of digits it has.

Input

One integer 0 ≤ n ≤ 100.

Output

Two lines.

Sample 1

Input
5
Output
120
3

Sample 2

Input
0
Output
1
1
solution.py
Output appears here
math.factorial · Python practice problem · LearnPy Hub