input: from typing import List, Union
  
  def predict_housing_price(data: List[List[Union[int, float]]], new_data: List[int]) -> float:
      """ Predict the housing price given the living area and number of rooms.
      >>> predict_housing_price([[2000, 3], [1600, 2.5], [2400, 3.5], [1400, 2], [3000, 4]], [2200, 3])
      74750.0
      """
      import numpy as np
      from sklearn import linear_model
  
      X = np.array(data)
      y = np.array([75000, 43000, 59000, 32000, 85000])
  
      model = linear_model.LinearRegression()
      model.fit(X, y)
  
      prediction = model.predict([new_data])
      return prediction[0]
output:     import numpy as np
      from sklearn import linear_model
  
      X = np.array(data)
      y = np.array([75000, 43000, 59000, 32000, 85000])
  
      model = linear_model.LinearRegression()
      model.fit(X, y)
  
      prediction = model.predict([new_data])
      return prediction[0]