input: def extract_stock_prices(stocks: List[str]) -> List[str]:
      """ Scrape the latest stock prices from Yahoo Finance for a given list of stock identifiers.
      Each stock identifier is followed by the string " stocks".
      >>> extract_stock_prices(["AAPL stocks", "MSFT stocks", "FB stocks", "GOOG stocks"])
      ['AAPL price', 'MSFT price', 'FB price', 'GOOG price']
      """
      from bs4 import BeautifulSoup
      import requests
  
      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 price
  
      prices = []
      for stock in stocks:
          price = get_stock_price(stock)
          prices.append(f'{stock.split()[0]} price')
      return prices
output:     from bs4 import BeautifulSoup
      import requests
  
      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 price
  
      prices = []
      for stock in stocks:
          price = get_stock_price(stock)
          prices.append(f'{stock.split()[0]} price')
      return prices