Implemented sum search