
"""simple docstring"""




def  _lowerCAmelCase		(		_UpperCamelCase ,				_UpperCamelCase						):






  """simple docstring"""



  if a < 0 or b < 0:
    raise ValueError('''the value of both inputs must be positive'''						)

  _lowercase:			Optional[Any]       =     str(bin(_UpperCamelCase						)						)[2:]  # remove the leading "0b"
  _lowercase:			Union[str, Any]       =     str(bin(_UpperCamelCase						)						)[2:]  # remove the leading "0b"

  _lowercase:			Dict       =     max(len(_UpperCamelCase						) ,				len(_UpperCamelCase						)						)

  return "0b" + "".join(
      str(int(char_a != char_b						)						)
      for char_a, char_b in zip(a_binary.zfill(_UpperCamelCase						) ,				b_binary.zfill(_UpperCamelCase						)						)						)


if __name__ == "__main__":
  import doctest

  doctest.testmod()


"""simple docstring"""




def  _lowerCAmelCase		(		_UpperCamelCase						):






  """simple docstring"""



  if num <= 0:
    raise ValueError('''Input must be a positive integer'''						)

  _lowercase:			Tuple       =     [True] * (num + 1)

  _lowercase:			List[str]       =     2
  while p * p <= num:
    if primes[p]:
      for i in range(p * p ,				num + 1 ,				_UpperCamelCase						):
        _lowercase:			List[str]       =     False
    p += 1

  return [prime for prime in range(2 ,				num + 1						) if primes[prime]]


if __name__ == "__main__":
  import doctest

  doctest.testmod()

  A__   :					List[Any]							=   int(input('Enter a positive integer: ').strip())
  print(prime_sieve_eratosthenes(user_num))
