

'''simple docstring'''


from __future__ import annotations




def 	_a       (				__lowerCAmelCase		:      list     ):

		"""simple docstring"""

		if not nums:
				raise ValueError('''List is empty'''     )
		return sum(__lowerCAmelCase     ) / len(__lowerCAmelCase     )


if __name__ == "__main__":
					import doctest

					doctest.testmod()






'''simple docstring'''


def 	_a       (				__lowerCAmelCase		:      int     ):

		"""simple docstring"""

		if p < 2:
				raise ValueError('''p should not be less than 2!'''     )
		elif p == 2:
				return True

		snake_case__						:       Any       						=  4
		snake_case__						:       int       						=  (1 << p) - 1
		for _ in range(p - 2     ):
				snake_case__						:       Tuple       						=  ((s * s) - 2) % m
		return s == 0


if __name__ == "__main__":
					print(lucas_lehmer_test(7))
					print(lucas_lehmer_test(11))



