'''simple docstring'''

import string







def      UpperCamelCase_						(					snake_case_       :       str      )					->     None:






 '''simple docstring'''

 for key in range(len(string.ascii_uppercase      )      ):
  __lowerCAmelCase											=						""""""
  for symbol in message:
   if symbol in string.ascii_uppercase:
    __lowerCAmelCase											=						string.ascii_uppercase.find(snake_case_      )
    __lowerCAmelCase											=						num - key
    if num < 0:
     __lowerCAmelCase											=						num + len(string.ascii_uppercase      )
    __lowerCAmelCase											=						translated + string.ascii_uppercase[num]
   else:
    __lowerCAmelCase											=						translated + symbol
  print(f"""Decryption using Key #{key}: {translated}"""      )







def      UpperCamelCase_						(					)					->     None:






 '''simple docstring'''

 __lowerCAmelCase											=						input("""Encrypted message: """      )
 __lowerCAmelCase											=						message.upper()
 decrypt(snake_case_      )


if __name__ == "__main__":
 import doctest

 doctest.testmod()
 main()







'''simple docstring'''

from __future__ import annotations

from dataclasses import dataclass







@dataclass
class 				_lowercase     :


 '''simple docstring'''






 _SCREAMING_SNAKE_CASE     :       float
 _SCREAMING_SNAKE_CASE     :       TreeNode | None      	=					None
 _SCREAMING_SNAKE_CASE     :       TreeNode | None      	=					None







def      UpperCamelCase_						(					snake_case_       :       TreeNode | None      )					->     bool:






 '''simple docstring'''

 def is_valid_tree(snake_case_       :       TreeNode | None      ) -> bool:
  if node is None:
   return True

  if not isinstance(snake_case_						,		snake_case_      ):
   return False

  try:
   float(node.data      )
  except (TypeError, ValueError):
   return False

  return is_valid_tree(node.left      ) and is_valid_tree(node.right      )

 if not is_valid_tree(snake_case_      ):
  raise ValueError(
      """Each node should be type of TreeNode and data should be float."""      )

 def is_binary_search_tree_recursive_check(
     snake_case_       :       TreeNode | None						,		snake_case_       :       float						,		snake_case_       :       float      ) -> bool:

  if node is None:
   return True

  return (
      left_bound < node.data < right_bound
      and is_binary_search_tree_recursive_check(node.left						,		snake_case_						,		node.data      )
      and is_binary_search_tree_recursive_check(
          node.right						,		node.data						,		snake_case_      )
  )

 return is_binary_search_tree_recursive_check(snake_case_						,		-float("""inf"""      )						,		float("""inf"""      )      )


if __name__ == "__main__":
 import doctest

 doctest.testmod()






