





'''simple docstring'''




def 	UpperCAmelCase_							(					__lowercase							:      str       )		->       str:


     '''simple docstring'''



     return " ".join(
         "".join(word[::-1]       ) if len(__lowercase       ) > 4 else word for word in sentence.split()       )


if __name__ == "__main__":
  import doctest

  doctest.testmod()
  print(reverse_long_words('''Hey wollef sroirraw'''))











'''simple docstring'''




import math
def 	UpperCAmelCase_							(					__lowercase							:      int       )		->       bool:


     '''simple docstring'''



     return math.sqrt(__lowercase       ) * math.sqrt(__lowercase       ) == num
def 	UpperCAmelCase_							(					__lowercase							:      int       )		->       bool:


     '''simple docstring'''



     _UpperCAmelCase     							=   0
     _UpperCAmelCase     							=   n
     while left <= right:
          _UpperCAmelCase     							=   (left + right) // 2
          if mid**2 == n:
               return True
          elif mid**2 > n:
               _UpperCAmelCase     							=   mid - 1
          else:
               _UpperCAmelCase     							=   mid + 1
     return False


if __name__ == "__main__":
  import doctest

  doctest.testmod()




