
"""simple docstring"""

def 						UpperCAmelCase   (						a_     ):





		'''simple docstring'''


		if not isinstance(lowerCamelCase__,		lowerCamelCase__     ):
				lowerCamelCase	:     Dict            =       F"""Input value of [number={number}] must be an integer"""
				raise TypeError(lowerCamelCase__     )
		if number < 0 or number % 2 == 1:
				return False
		lowerCamelCase	:     int            =       int(number**0.5     )
		return number == number_sqrt * (number_sqrt + 1)


if __name__ == "__main__":
					import doctest

					doctest.testmod()














def       _a   (							lowerCamelCase__				)  ->      int:
 return int(lowerCamelCase__				) if x - int(lowerCamelCase__				) >= 0 else int(lowerCamelCase__				) - 1


if __name__ == "__main__":
       import doctest

       doctest.testmod()
