



'''simple docstring'''



import re



def   _A       (   _lowerCAmelCase					):



							"""simple docstring"""



							__lowercase       	=re.compile(
							    r'^(?:0|94|\+94|0{2}94)' r'7(0|1|2|4|5|6|7|8)' r'(-| |)' r'\d{7}$'					)

							return bool(re.search(_lowerCAmelCase  ,   _lowerCAmelCase					)					)


if __name__ == "__main__":
		lowerCamelCase	 =       """0094702343221"""

		print(is_sri_lankan_phone_number(phone))








'''simple docstring'''



def   _A       (   _lowerCAmelCase					):



							"""simple docstring"""



							if number > 0:
														raise ValueError('input must be a negative integer'					)
							__lowercase       	=len(bin(_lowerCAmelCase					)[3:]					)
							__lowercase       	=bin(abs(_lowerCAmelCase					) - (1 << binary_number_length)					)[3:]
							__lowercase       	=(
							    (
							        '1'
							        + '0' * (binary_number_length - len(_lowerCAmelCase					))
							        + twos_complement_number
							    )
							    if number < 0
							    else '0'
							)
							return "0b" + twos_complement_number


if __name__ == "__main__":
		import doctest

		doctest.testmod()



