
def  a_	( __lowercase     :			list[int]				)				->						int:

			# validate:
			if not isinstance(__lowercase ,      __lowercase				) or not all(
			    isinstance(__lowercase ,      __lowercase				) and item >= 0 for item in citations				):
						raise ValueError('The citations should be a list of non negative integers.'				)

			citations.sort()
			_snake_case						=    len(__lowercase				)

			for i in range(__lowercase				):
						if citations[len_citations - 1 - i] <= i:
									return i

			return len_citations


if __name__ == "__main__":
			import doctest

			doctest.testmod()

def  a_	( __lowercase     :			int				)				->						bool:
			_snake_case						=    9

			while num > 0:
						if num % 10 != digit:
									return False
						num //= 100
						digit -= 1

			return True






def  a_	( )				->						int:
			_snake_case						=    138_902_663

			while not is_square_form(num * num				):
						if num % 10 == 3:
									num -= 6  # (3 - 6) % 10 = 7
						else:
									num -= 4  # (7 - 4) % 10 = 3

			return num * 10


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