input: def factorial(n: int) -> int:
      """Compute the factorial of a given number.
      >>> factorial(7)
      5040
      """
      fact = 1
      for i in range(2, n + 1):
          fact = fact * i
      return fact
output:     fact = 1
      for i in range(2, n + 1):
          fact = fact * i
      return fact