



"""simple docstring"""
def   A_    (     _lowercase,   _lowercase = 13      ):







						'''simple docstring'''


						snake_case_					:Optional[int]		=     """"""
						for c in s:
												if "A" <= c <= "Z":
																		out += chr(ord("""A"""      ) + (ord(_lowercase      ) - ord("""A"""      ) + n) % 26      )
												elif "a" <= c <= "z":
																		out += chr(ord("""a"""      ) + (ord(_lowercase      ) - ord("""a"""      ) + n) % 26      )
												else:
																		out += c
						return out
def   A_    (     ):







						'''simple docstring'''


						snake_case_					:Tuple		=     input("""Enter message: """      )

						snake_case_					:str		=     dencrypt(_lowercase,   13      )
						print("""Encryption:""",   _lowercase      )

						snake_case_					:Optional[Any]		=     dencrypt(_lowercase,   13      )
						print("""Decryption: """,   _lowercase      )


if __name__ == "__main__":
						import doctest

						doctest.testmod()
						main()





"""simple docstring"""
def   A_    (     _lowercase,   _lowercase,   _lowercase,   _lowercase      ):







						'''simple docstring'''


						snake_case_					:Dict		=     int((lower_bound + upper_bound) // 2      )
						if array[r] == value:
												return r
						if lower_bound >= upper_bound:
												return -1
						if array[r] < value:
												return binary_search(_lowercase,   r + 1,   _lowercase,   _lowercase      )
						else:
												return binary_search(_lowercase,   _lowercase,   r - 1,   _lowercase      )
def   A_    (     _lowercase,   _lowercase      ):







						'''simple docstring'''


						snake_case_					:Any		=     0
						if matrix[index][0] == value:
												return [index, 0]
						while index < len(_lowercase      ) and matrix[index][0] < value:
												snake_case_					:List[str]		=     binary_search(matrix[index],   0,   len(matrix[index]      ) - 1,   _lowercase      )
												if r != -1:
																		return [index, r]
												index += 1
						return [-1, -1]


if __name__ == "__main__":
						import doctest

						doctest.testmod()
