


"""simple docstring"""
def     _a					(   _SCREAMING_SNAKE_CASE = 20					)     ->					int:

							try:
														snake_case_     							=		int(_SCREAMING_SNAKE_CASE					)
							except (TypeError, ValueError):
														raise TypeError("""Parameter n must be int or castable to int."""					)
							if n <= 0:
														raise ValueError("""Parameter n must be greater than or equal to one."""					)
							snake_case_     							=		0
							while 1:
														i += n * (n - 1)
														snake_case_     							=		0
														for j in range(2					,			_SCREAMING_SNAKE_CASE					):
																					if i % j != 0:
																												snake_case_     							=		1
																												break
														if nfound == 0:
																					if i == 0:
																												snake_case_     							=		1
																					return i
							return None


if __name__ == "__main__":
				print(f"""{solution() = }""")







"""simple docstring"""
import doctest

import projectq
from projectq.ops import H, Measure







def     _a					(   _SCREAMING_SNAKE_CASE					)     ->					int:
							snake_case_     							=		quantum_engine.allocate_qubit()
							H | qubit
							Measure | qubit
							return int(_SCREAMING_SNAKE_CASE					)


if __name__ == "__main__":
				doctest.testmod()

				# initialises a new quantum backend
				__SCREAMING_SNAKE_CASE				:     Dict		=     projectq.MainEngine()

				# Generate a list of 10 random numbers
				__SCREAMING_SNAKE_CASE				:     Optional[Any]		=     [get_random_number(quantum_engine) for _ in range(10)]

				# Flushes the quantum engine from memory
				quantum_engine.flush()

				print('Random numbers', random_numbers_list)



