


from __future__ import annotations

import math




def     __SCREAMING_SNAKE_CASE							(       lowercase_      )		->     list[int]:




						'''simple docstring'''







						if num <= 0:
												__UpperCAmelCase			:							Optional[Any]	    =	f"{num}: Invalid input, please enter a positive integer."
												raise ValueError(lowercase_      )

						__UpperCAmelCase			:							int	    =	[True] * (num + 1)
						__UpperCAmelCase			:							Dict	    =	[]
						__UpperCAmelCase			:							Any	    =	2
						__UpperCAmelCase			:							Optional[int]	    =	int(math.sqrt(lowercase_      )      )

						while start <= end:
												# If start is a prime
												if sieve[start] is True:
																		prime.append(lowercase_      )

																		# Set multiples of start be False
																		for i in range(start * start      ,       num + 1      ,       lowercase_      ):
																								if sieve[i] is True:
																														__UpperCAmelCase			:							Dict	    =	False

												start += 1

						for j in range(end + 1      ,       num + 1      ):
												if sieve[j] is True:
																		prime.append(lowercase_      )

						return prime


if __name__ == "__main__":
				print(prime_sieve(int(input("""Enter a positive integer: """).strip())))





def     __SCREAMING_SNAKE_CASE							(       lowercase_      ,       lowercase_      )		->     int:




						'''simple docstring'''







						return 1 if input_a == input_a else 0




def     __SCREAMING_SNAKE_CASE							(       )		->     None:




						'''simple docstring'''







						assert xnor_gate(0      ,       0      ) == 1
						assert xnor_gate(0      ,       1      ) == 0
						assert xnor_gate(1      ,       0      ) == 0
						assert xnor_gate(1      ,       1      ) == 1


if __name__ == "__main__":
				print(xnor_gate(0, 0))
				print(xnor_gate(0, 1))
				print(xnor_gate(1, 0))
				print(xnor_gate(1, 1))

