input: Write a python function to optimize the sum of three given numbers using a range of +/- 10 for each parameter.
  assert optimize(get_result, Params(a=1, b=2, c=3)) == {'a': 11, 'b': 12, 'c': 13}
  assert optimize(get_result, Params(a=0, b=0, c=0)) == {'a': 10, 'b': 10, 'c': 10}
  assert optimize(get_result, Params(a=-5, b=-5, c=-5)) == {'a': 5, 'b': 5, 'c': 5}
output: def optimize(get_result, params):
      class Params:
          def __init__(self, a, b, c):
              self.a = a
              self.b = b
              self.c = c
      
      best_params = params
      max_sum = get_result(params)
      
      for da in range(-10, 11):
          for db in range(-10, 11):
              for dc in range(-10, 11):
                  current_params = Params(params.a + da, params.b + db, params.c + dc)
                  current_sum = get_result(current_params)
                  if current_sum > max_sum:
                      max_sum = current_sum
                      best_params = current_params
  
      return {'a': best_params.a, 'b': best_params.b, 'c': best_params.c}