
def 			a   (_lowerCAmelCase     ):






							if not isinstance(_UpperCamelCase  ,    _UpperCamelCase     ):
														SCREAMING_SNAKE_CASE_   	=    F"Input value of [number={number}] must be an integer"
														raise TypeError(_UpperCamelCase     )
							if number < 0:
														return False
							SCREAMING_SNAKE_CASE_   	=    number * number
							while number > 0:
														if number % 1_0 != number_square % 1_0:
																					return False
														number //= 1_0
														number_square //= 1_0
							return True


if __name__ == "__main__":
			import doctest

			doctest.testmod()








from typing import Any

def 			a   (_lowerCAmelCase     ):
							if not input_list:
														return []
							SCREAMING_SNAKE_CASE_   	=    [input_list.count(_lowerCAmelCase     ) for value in input_list]
							SCREAMING_SNAKE_CASE_   	=    max(_lowerCAmelCase     )  # Gets the maximum count in the input list.
							# Gets values of modes
							return sorted({input_list[i] for i, value in enumerate(_lowerCAmelCase     ) if value == y}     )


if __name__ == "__main__":
			import doctest

			doctest.testmod()


