Solve Equal Sums (for the small input only)