input: from typing import List
  
  
  def calculate_fibonacci(n: int) -> List[int]:
      """ Calculates the first n Fibonacci numbers and returns them as a list.
      >>> calculate_fibonacci(5)
      [1, 1, 2, 3, 5]
      >>> calculate_fibonacci(3)
      [1, 1, 2]
      """
  
output:     if n <= 0:
          return []
      if n == 1:
          return [1]
      fib_sequence = [1, 1]
      for i in range(2, n):
          fib_sequence.append(fib_sequence[-1] + fib_sequence[-2])
      return fib_sequence