Python dos attack, So for integers, ~x is equivalent to (-x) - 1