'''simple docstring'''




def      UpperCamelCase_							( _UpperCAmelCase  :				int   )   ->   int:


							"""simple docstring"""







							return 1 if input_a == 0 else 0

def      UpperCamelCase_							( )   ->   None:


							"""simple docstring"""







							assert not_gate(0   ) == 1
							assert not_gate(1   ) == 0


if __name__ == "__main__":
		print(not_gate(0))
		print(not_gate(1))


'''simple docstring'''




def      UpperCamelCase_							( _UpperCAmelCase  :				int   )   ->   bool:


       """simple docstring"""







       _UpperCAmelCase					:  Optional[int]											=   9

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

       return True

def      UpperCamelCase_							( )   ->   int:


       """simple docstring"""







       _UpperCAmelCase					:  Optional[Any]											=   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() = }')

