input: 
  import numpy as np
  from sklearn.linear_model import LinearRegression
  
  def perform_linear_regression(X: list, Y: list) -> np.ndarray:
      """
      Perform linear regression on a given dataset to predict the numbers.
      >>> perform_linear_regression([1, 2, 3, 4, 5], [3, 5, 7, 9, 13])
      array([16.1])
      """
      X_array = np.array(X).reshape(-1, 1)
      Y_array = np.array(Y)
      model = LinearRegression().fit(X_array, Y_array)
      return model.predict([[7]])
  
output:     X_array = np.array(X).reshape(-1, 1)
      Y_array = np.array(Y)
      model = LinearRegression().fit(X_array, Y_array)
      return model.predict([[7]])