input: def convert_to_negative_or_positive(x: int) -> int:
      """ Convert a given integer to its negative or positive counterpart using the bitwise NOT operator.
      >>> convert_to_negative_or_positive(5)
      -5
      >>> convert_to_negative_or_positive(-5)
      5
      """
output:     return ~x + 1