input: Write a python function to generate mock data set by appending random numbers to names, random ages, and random genders.
  assert generate_mock_data([("Alice", 30), ("Bob", 25)]) == [("Alice" + str(n), n, "Male" or "Female"), ("Bob" + str(n), n, "Male" or "Female")]
  assert generate_mock_data([("Charlie", 40)]) == [("Charlie" + str(n), n, "Male" or "Female")]
  assert generate_mock_data([]) == []
output: import random
  
  def generate_mock_data(names_and_ages):
      mock_data = []
      for name, age in names_and_ages:
          random_number = random.randint(1000, 9999)
          random_age = random.randint(18, 100)
          random_gender = random.choice(["Male", "Female"])
          mock_data.append((name + str(random_number), random_age, random_gender))
      return mock_data