





from itertools import compress, repeat
from math import ceil, sqrt



def    SCREAMING_SNAKE_CASE							(			snake_case       )		->						list[int]:

		if num <= 2:
				return []
		if num == 3:
				return [2]

		# Odd sieve for numbers in range [3, num - 1]
		__lowercase					=    bytearray(B'\x01'       ) * ((num >> 1) - 1)

		for i in range(3	,      int(sqrt(snake_case       )       ) + 1	,      2       ):
				if sieve[(i >> 1) - 1]:
						__lowercase					=    i**2
						__lowercase					=    repeat(
						    0	,      ceil((num - i_squared) / (i << 1)       )       )

		return [2] + list(compress(range(3	,      snake_case	,      2       )	,      snake_case       )       )


if __name__ == "__main__":
		import doctest

		doctest.testmod()











def    SCREAMING_SNAKE_CASE							(			snake_case       )		->						int:
		__lowercase					=    str(snake_case       ).strip()
		if not bin_string:
				raise ValueError('Empty string was passed to the function'       )
		__lowercase					=    bin_string[0] == '-'
		if is_negative:
				__lowercase					=    bin_string[1:]
		if not all(char in '01' for char in bin_string       ):
				raise ValueError('Non-binary value was passed to the function'       )
		__lowercase					=    0
		for char in bin_string:
				__lowercase					=    2 * decimal_number + int(snake_case       )
		return -decimal_number if is_negative else decimal_number


if __name__ == "__main__":
		from doctest import testmod

		testmod()




