input: Write a function to parse a JSON data structure.
  
  ### Input:
  data = {
   "name": "John",
   "age": 18,
   "occupation": "Software Engineer"
  }
  
  ### Output:
  import json
  
  def parse_json(data):
   data = json.loads(data)
   return data['name'], data['age'], data['occupation']
  
  name, age, occupation = parse_json(data)
  print(name, age, occupation)
  # Output: John 18 Software Engineer
  
  assert parse_json('{"name": "John", "age": 18, "occupation": "Software Engineer"}')==("John", 18, "Software Engineer")
  assert parse_json('{"name": "Jane", "age": 21, "occupation": "Doctor"}')==("Jane", 21, "Doctor")
  assert parse_json('{"name": "Sam", "age": 30, "occupation": "Teacher"}')==("Sam", 30, "Teacher")
  assert parse_json('{"name": "Eve", "age": 25, "occupation": "Designer"}')==("Eve", 25, "Designer")
  assert parse_json('{"name": "", "age": 0, "occupation": ""}')==("", 0, "")
output: def parse_json(data):
      data = json.loads(data)
      return data['name'], data['age'], data['occupation']