


'''simple docstring'''

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

def _SCREAMING_SNAKE_CASE				(A	)	->	list[int]:






       """simple docstring"""







       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(A	)	) + 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  ,			A  ,			2	)  ,			A	)	)


if __name__ == "__main__":
 import doctest

 doctest.testmod()








'''simple docstring'''

def _SCREAMING_SNAKE_CASE				(A	)	->	int:






       """simple docstring"""







       return 1 if input_a == 0 else 0

def _SCREAMING_SNAKE_CASE				()	->	None:






       """simple docstring"""







       assert not_gate(0	) == 1
       assert not_gate(1	) == 0


if __name__ == "__main__":
 print(not_gate(0))
 print(not_gate(1))




