



def 	_UpperCAmelCase       (   snake_case			,		snake_case = 13    ):





					"""simple docstring"""

					_lowerCAmelCase      			=					""""""
					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 	_UpperCAmelCase       (   ):





					"""simple docstring"""

					_lowerCAmelCase      			=					input("""Enter message: """    )

					_lowerCAmelCase      			=					dencrypt(lowercase__			,		13    )
					print("""Encryption:"""			,		lowercase__    )

					_lowerCAmelCase      			=					dencrypt(lowercase__			,		13    )
					print("""Decryption: """			,		lowercase__    )


if __name__ == "__main__":
	import doctest

	doctest.testmod()
	main()








from __future__ import annotations


def 	_UpperCAmelCase       (   snake_case    ):





					"""simple docstring"""

					_lowerCAmelCase      			=					sorted(snake_case    )
					_lowerCAmelCase      			=					len(snake_case    )
					_lowerCAmelCase      			=					length >> 1
					return (
					    (sorted_list[mid_index] + sorted_list[mid_index - 1]) / 2
					    if length % 2 == 0
					    else sorted_list[mid_index]
					)


def 	_UpperCAmelCase       (   ):





					"""simple docstring"""

					import doctest

					doctest.testmod()


if __name__ == "__main__":
	main()



