n = int(input("Write a number "))
factorial = 1
for i in range(1,n+1):
  factorial = factorial*i
print(factorial)
c3ef6ab90d109de887e9a7b4ac2c956499a6fd31
<mask token>

<mask token>
for i in range(1, n + 1):
    factorial = factorial * i
print(factorial)

n = int(input('Write a number '))
factorial = 1
for i in range(1, n + 1):
    factorial = factorial * i
print(factorial)

n = int(input("Write a number "))
factorial = 1
for i in range(1,n+1):
  factorial = factorial*i
print(factorial)