<filename>HackerRank/Algorithms/Implementation/Medium/ExtraLongFactorials/Python/ExtraLongFactorials.py<gh_stars>0
#!/bin/python3

import math
import os
import random
import re
import sys

# Complete the extraLongFactorials function below.
def extraLongFactorials(n):
    if n != 1:
        return n * extraLongFactorials(n - 1)
    else:
        return 1

if __name__ == '__main__':
    n = int(input())

    print(extraLongFactorials(n))
