input: from typing import List
  
  def calculate_factorial(n: int) -> int:
    """Calculate the factorial of a given number using recursion.
    >>> calculate_factorial(5)
    120
    >>> calculate_factorial(3)
    6
    """
    if n == 1:
      return 1
    else:
      return n * calculate_factorial(n - 1)
  
output:     if n == 1:
          return 1
      else:
          return n * calculate_factorial(n - 1)