input: 
  def convert_number(x: int) -> int:
      """Convert a positive integer to negative or vice versa using bitwise NOT operator.
      >>> convert_number(5)
      -5
      >>> convert_number(-7)
      7
      """
  
output:     return ~x + 1