107. The closest equilibrium to an imbalance