input: Write a function called `get_stock_price` that takes a string `stock` as input and returns the latest stock price as a string by scraping the finance website. The function should generate the appropriate URL using the input stock, make an HTTP request to the website, parse the response using BeautifulSoup, and extract the stock price from the specified HTML class.
  
  "AAPL stocks": "$148.48"
  "MSFT stocks": "$250.81"
  "FB stocks": "$320.52"
  "GOOG stocks": "$2578.12"
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('fin-streamer', {'data-field': 'regularMarketPrice'}).text
      return price
  