input: Write a function to parse a JSON data structure and return the values of the 'name', 'age', and 'occupation' keys from it. Write assert statements to test the function with different JSON strings and expected outputs. 
  
  import json
  
  def parse_json(data):
      data = json.loads(data)
      return data['name'], data['age'], data['occupation']
  
  assert parse_json('{"name": "John", "age": 18, "occupation": "Software Engineer"}') == ('John', 18, 'Software Engineer')
  assert parse_json('{"name": "Jane", "age": 24, "occupation": "Data Scientist"}') == ('Jane', 24, 'Data Scientist')
  assert parse_json('{"name": "Alice", "age": 30, "occupation": "Doctor"}') == ('Alice', 30, 'Doctor')
  assert parse_json('{"name": "Bob", "age": 35, "occupation": "Teacher"}') == ('Bob', 35, 'Teacher')
  assert parse_json('{"name": "Charlie", "age": 40, "occupation": "Engineer"}') == ('Charlie', 40, 'Engineer')
output: import json
  
  def parse_json(data):
      data = json.loads(data)
      return data['name'], data['age'], data['occupation']