input: 
  def calculate_factorial(n: int) -> int:
      """ Calculate the factorial of a given number using recursion.
      >>> calculate_factorial(5)
      120
      >>> calculate_factorial(1)
      1
      >>> calculate_factorial(0)
      1
      """
  
output:     if n == 0 or n == 1:
          return 1
      else:
          return n * calculate_factorial(n - 1)