



"""simple docstring"""






def 			snake_case		(		lowerCAmelCase_  ,						lowerCAmelCase_	)						->				str:
  if number < 0 or shift_amount < 0:
    raise ValueError('''both inputs must be positive integers'''	)

  _snake_case   	=      str(bin(lowerCAmelCase_	)	)
  binary_number += "0" * shift_amount
  return binary_number




def 			snake_case		(		lowerCAmelCase_  ,						lowerCAmelCase_	)						->				str:
  if number < 0 or shift_amount < 0:
    raise ValueError('''both inputs must be positive integers'''	)

  _snake_case   	=      str(bin(lowerCAmelCase_	)	)[2:]
  if shift_amount >= len(lowerCAmelCase_	):
    return "0b0"
  _snake_case   	=      binary_number[: len(lowerCAmelCase_	) - shift_amount]
  return "0b" + shifted_binary_number




def 			snake_case		(		lowerCAmelCase_  ,						lowerCAmelCase_	)						->				str:
  if number >= 0:  # Get binary representation of positive number
    _snake_case   	=      '''0''' + str(bin(lowerCAmelCase_	)	).strip('''-'''	)[2:]
  else:  # Get binary (2's complement) representation of negative number
    _snake_case   	=      len(bin(lowerCAmelCase_	)[3:]	)  # Find 2's complement of number
    _snake_case   	=      bin(abs(lowerCAmelCase_	) - (1 << binary_number_length)	)[3:]
    _snake_case   	=      (
        '''1''' + '''0''' * (binary_number_length - len(lowerCAmelCase_	)) + binary_number
    )

  if shift_amount >= len(lowerCAmelCase_	):
    return "0b" + binary_number[0] * len(lowerCAmelCase_	)
  return (
      "0b"
      + binary_number[0] * shift_amount
      + binary_number[: len(lowerCAmelCase_	) - shift_amount]
  )


if __name__ == "__main__":
     import doctest

     doctest.testmod()










"""simple docstring"""






from abc import ABC, abstractmethod
from argparse import ArgumentParser



class     UpperCAmelCase    (	__SCREAMING_SNAKE_CASE  ):



   @staticmethod
   @abstractmethod
   def    __UpperCAmelCase    (       __lowerCamelCase    :	ArgumentParser				):



     """simple docstring"""
     raise NotImplementedError()





   @abstractmethod
   def    __UpperCAmelCase    (       self    :	Optional[Any]				):



     """simple docstring"""
     raise NotImplementedError()





