input: 
  def convert_to_negative(x: int) -> int:
      """ Converts a positive integer to negative using the bitwise NOT operator.
      >>> convert_to_negative(5)
      -5
      >>> convert_to_negative(10)
      -10
      """
  
  def convert_to_positive(x: int) -> int:
      """ Converts a negative integer to positive using the bitwise NOT operator.
      >>> convert_to_positive(-5)
      5
      >>> convert_to_positive(-10)
      10
      """
  
output:     
      return ~x + 1
  