input: def fibonacci_sequence(n: int) -> List[int]:
      """Generates the first n numbers of the Fibonacci sequence and returns them as a list.
      >>> fibonacci_sequence(5)
      [0, 1, 1, 2, 3]
      >>> fibonacci_sequence(10)
      [0, 1, 1, 2, 3, 5, 8, 13, 21, 34]
      """
output:     if n <= 0:
          return []
      if n == 1:
          return [0]
      sequence = [0, 1]
      for i in range(2, n):
          sequence.append(sequence[-1] + sequence[-2])
      return sequence