code: def ms_to_lr(
      mid_array: np.ndarray, side_array: np.ndarray
  ) -> np.ndarray:
      return np.vstack(
          (mid_array + side_array, mid_array - side_array)
      ).T
  
imports: import numpy
  import statsmodels.api
label_desc: Use image node_id 9 for calling a global function with example usage: ms_to_lr(mid_array, side_array) and returns: np