input: import numpy as np
  from sklearn.linear_model import LinearRegression
  
  def linear_regression_predict(X: list, Y: list) -> np.ndarray:
      """ Perform linear regression to predict the values of Y based on X.
      >>> linear_regression_predict([1,2,3,4,5], [3,5,7,9,13])
      array([17.])
      """
      X = np.array(X).reshape(-1, 1)
      Y = np.array(Y)
      model = LinearRegression()
      model.fit(X, Y)
      return model.predict([[7]])
output:     X = np.array(X).reshape(-1, 1)
      Y = np.array(Y)
      model = LinearRegression()
      model.fit(X, Y)
      return model.predict([[7]])