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