input: Write a python function to add two numbers from an event dictionary and return the result in a JSON response.
  assert handler({"x": 5, "y": 3}, None) == {"statusCode": 200, "body": json.dumps({"result": 8})}
  assert handler({"x": -2, "y": 7}, None) == {"statusCode": 200, "body": json.dumps({"result": 5})}
  assert handler({"x": 10, "y": 0}, None) == {"statusCode": 200, "body": json.dumps({"result": 10})}
output: import json
  
  def handler(event, context):
      x = event.get("x")
      y = event.get("y")
      result = x + y
      response = {
          "statusCode": 200,
          "body": json.dumps({"result": result})
      }
      return response