input: def extract_stock_prices(stocks: List[str]) -> List[str]:
      """Extract the latest stock prices from Yahoo Finance for a given list of stocks.
      >>> extract_stock_prices(["AAPL stocks", "MSFT stocks", "FB stocks", "GOOG stocks"])
      ['The price of AAPL stocks is 159.23.', 'The price of MSFT stocks is 295.15.', 'The price of FB stocks is 323.52.', 'The price of GOOG stocks is 2845.21.']
      """
      import requests
      from bs4 import BeautifulSoup
  
      def get_stock_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}.'
  
      prices = []
      for stock in stocks:
          price = get_stock_price(stock)
          prices.append(price)
      return prices
output:     import requests
      from bs4 import BeautifulSoup
  
      def get_stock_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}.'
  
      prices = []
      for stock in stocks:
          price = get_stock_price(stock)
          prices.append(price)
      return prices