reduce from right to left. -/~4 => -2  -/~5 => 2   -/~3 => 1