finish 3Sum