input: 
  from typing import List
  
  def get_stock_price(stocks: List[str]) -> List[str]:
      """
      Extracts the latest stock prices from Yahoo Finance for a list of stock symbols.
      
      Example:
      >>> get_stock_price(["AAPL stocks", "MSFT stocks"])
      ["The price of AAPL stocks is 152.35.", "The price of MSFT stocks is 273.22."]
      """
      import requests
      from bs4 import BeautifulSoup
  
      def fetch_price(stock):
          url = f"https://finance.yahoo.com/quote/{stock}"
          response = requests.get(url)
          soup = BeautifulSoup(response.text, 'html.parser')
          price = soup.find('div', {'class': 'My(6px) Pos(r) smartphone_Mt(6px)'}).find('span').text
          return f'The price of {stock} is {price}.'
  
      return [fetch_price(stock) for stock in stocks]
  
output:     import requests
      from bs4 import BeautifulSoup
  
      def fetch_price(stock):
          url = f"https://finance.yahoo.com/quote/{stock}"
          response = requests.get(url)
          soup = BeautifulSoup(response.text, 'html.parser')
          price = soup.find('div', {'class': 'My(6px) Pos(r) smartphone_Mt(6px)'}).find('span').text
          return f'The price of {stock} is {price}.'
  
      return [fetch_price(stock) for stock in stocks]