input: Write a python function to extract the name and email from a dictionary.
  assert extract_name_email({"id": 1, "name": "John Smith", "email": "john@example.com", "dob": "1996-02-28", "skills": ["JavaScript", "HTML", "CSS", "Python"]}) == {"name": "John Smith", "email": "john@example.com"}
  assert extract_name_email({"id": 2, "name": "Jane Doe", "email": "jane@example.com", "dob": "1994-08-15", "skills": ["Java", "C++"]}) == {"name": "Jane Doe", "email": "jane@example.com"}
output: def extract_name_email(data):
      return {"name": data["name"], "email": data["email"]}