input: from typing import List
  
  def calculate_factorial_recursively(numbers: List[int]) -> List[int]:
      """ Calculate the factorial of each number in the list using a recursive function.
      Return a list of factorial values for the given numbers.
      >>> calculate_factorial_recursively([1, 2, 3, 4, 5])
      [1, 2, 6, 24, 120]
      """
      
      def factorial(n: int) -> int:
          if n == 1:
              return 1
          else:
              return n * factorial(n - 1)
  
      return [factorial(num) for num in numbers]
output:     def factorial(n: int) -> int:
          if n == 1:
              return 1
          else:
              return n * factorial(n - 1)
  
      return [factorial(num) for num in numbers]