
def 		_UpperCAmelCase   (	UpperCamelCase:     int			,							UpperCamelCase:     int  ):






	"""simple docstring"""


	if number < 0 or shift_amount < 0:
		raise ValueError("both inputs must be positive integers"  )

	__lowerCAmelCase         =							str(bin(UpperCamelCase  )  )
	binary_number += "0" * shift_amount
	return binary_number






def 		_UpperCAmelCase   (	UpperCamelCase:     int			,							UpperCamelCase:     int  ):






	"""simple docstring"""


	if number < 0 or shift_amount < 0:
		raise ValueError("both inputs must be positive integers"  )

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






def 		_UpperCAmelCase   (	UpperCamelCase:     int			,							UpperCamelCase:     int  ):






	"""simple docstring"""


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

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


if __name__ == "__main__":
					import doctest

					doctest.testmod()








from abc import ABC, abstractmethod
from argparse import ArgumentParser

class       a		(   __UpperCAmelCase					):







							@staticmethod
							@abstractmethod
							def       UpperCAmelCase__					(						snake_case__  :  ArgumentParser ):
								"""simple docstring"""







								raise NotImplementedError()







							@abstractmethod
							def       UpperCAmelCase__					(						self  :  Any ):
								"""simple docstring"""







								raise NotImplementedError()






