Factorial

Easy

📝 Description

Calculate the factorial of a given non-negative integer.

Input Format

A single integer n (0 ≤ n ≤ 12)

Output Format

A single integer representing n!

Constraints

0 ≤ n ≤ 12

🔍 Sample Input

5
            

✅ Sample Output

120
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run