from math import factorial
def fatorial(n):
    f = 1
    for c in range(1,n+1):
        f*=c
        return f


num = int(input('Digite um valor'))
fat = fatorial(num)
fat = fatorial(num)
print(f'O factorial de {num} é {fat}')