




def 							_UpperCAmelCase  (UpperCamelCase_ : int       ):
				'''simple docstring'''
				if num < 0:
								return False

				_lowerCAmelCase    :    int										=      num
				_lowerCAmelCase    :    int										=      0
				while num > 0:
								_lowerCAmelCase    :    Union[str, Any]										=      rev_num * 10 + (num % 10)
								num //= 10

				return num_copy == rev_num


if __name__ == "__main__":
	import doctest

	doctest.testmod()







def 							_UpperCAmelCase  (UpperCamelCase_ : int       ):
				'''simple docstring'''
				_lowerCAmelCase    :    int										=      n ** (1 / 3)
				return (val * val * val) == n


if __name__ == "__main__":
	print(perfect_cube(2_7))
	print(perfect_cube(4))

