input: def perform_linear_regression(X: List[int], Y: List[int]) -> float:
      """
      Perform linear regression on the given dataset to predict the output for a new input.
      """
      import numpy as np
      from sklearn.linear_model import LinearRegression
  
      X = np.array(X).reshape(-1,1)
      Y = np.array(Y)
  
      model = LinearRegression()
      model.fit(X, Y)
  
      # Predicts the value of y for input 7
      return model.predict([[7]])[0]
  
      # Example usage:
      # >>> perform_linear_regression([1,2,3,4,5], [3,5,7,9,13])
      # 15.0
output:     
      import numpy as np
      from sklearn.linear_model import LinearRegression
  
      X = np.array(X).reshape(-1,1)
      Y = np.array(Y)
  
      model = LinearRegression()
      model.fit(X, Y)
  
      # Predicts the value of y for input 7
      return model.predict([[7]])[0]
  