input: from typing import List
  
  def calculate_factorial(numbers: List[int]) -> List[int]:
      """ Calculate the factorial of each number in the given list.
      >>> calculate_factorial([0, 1, 2, 3, 4, 5])
      [1, 1, 2, 6, 24, 120]
      >>> calculate_factorial([10, 15, 20])
      [3628800, 1307674368000, 2432902008176640000]
      """
output:     factorials = []
      for num in numbers:
          if num == 0 or num == 1:
              factorials.append(1)
          else:
              factorial = 1
              for i in range(2, num + 1):
                  factorial *= i
              factorials.append(factorial)
      return factorials