input: 
  from typing import List
  
  
  def factorial(numbers: List[int], n: int) -> int:
      """ Calculate the factorial of the given number using recursion.
      >>> factorial([1, 2, 3, 4, 5], 5)
      120
      """
  
output:     if n == 0 or n == 1:
          return 1
      else:
          return n * factorial(numbers, n - 1)