input: Write a python function to simulate a number guessing game, where the goal is a random number between 1 and 100, and the function takes user input for guesses.
  assert isinstance(number_guessing_game([50, 25, 75, 60, 80, 70, 65, 85]), int)
  assert 1 <= number_guessing_game([10, 20, 30, 40, 50, 60, 70, 80, 90, 100]) <= 100
  assert 1 <= number_guessing_game([1, 100, 50, 25, 75, 60, 80, 90, 95]) <= 100
output: import random
  
  def number_guessing_game(guesses):
      target = random.randint(1, 100)
      for guess in guesses:
          if guess == target:
              return guess
      return target