input: from typing import List
  
  def generate_fizz_buzz(numbers: List[int]) -> List[str]:
      """ Generate a list where each element is determined by the following rules:
      - If the number is divisible by both 3 and 5, the element is "FizzBuzz".
      - If the number is divisible by 3, the element is "Fizz".
      - If the number is divisible by 5, the element is "Buzz".
      - Otherwise, the element is the number itself.
      >>> generate_fizz_buzz(range(1, 6))
      ['1', '2', 'Fizz', '4', 'Buzz']
      >>> generate_fizz_buzz(range(10, 16))
      ['Buzz', '11', 'Fizz', '13', '14', 'FizzBuzz']
      """
output:     result = []
      for num in numbers:
          if num % 3 == 0 and num % 5 == 0:
              result.append("FizzBuzz")
          elif num % 3 == 0:
              result.append("Fizz")
          elif num % 5 == 0:
              result.append("Buzz")
          else:
              result.append(str(num))
      return result