
'''simple docstring'''





def 	snake_case_							(				_a  :				str			,       _a  :				int = 13      ):
      snake_case_    							=				""
      for c in s:
            if "A" <= c <= "Z":
                  out += chr(ord("A"      ) + (ord(_a      ) - ord("A"      ) + n) % 26      )
            elif "a" <= c <= "z":
                  out += chr(ord("a"      ) + (ord(_a      ) - ord("a"      ) + n) % 26      )
            else:
                  out += c
      return out
def 	snake_case_							(				):
      snake_case_    							=				input("Enter message: "      )

      snake_case_    							=				dencrypt(_a			,       13      )
      print("Encryption:"			,       _a      )

      snake_case_    							=				dencrypt(_a			,       13      )
      print("Decryption: "			,       _a      )


if __name__ == "__main__":
     import doctest

     doctest.testmod()
     main()




def  snake_case_(_UpperCamelCase					,			_UpperCamelCase					,			_UpperCamelCase	)				->      Optional[Any]:



  """simple docstring"""






  _snake_case		=				index
  _snake_case		=				2 * index + 1
  _snake_case		=				2 * index + 2
  if left_index < heap_size and unsorted[left_index] > unsorted[largest]:
    _snake_case		=				left_index

  if right_index < heap_size and unsorted[right_index] > unsorted[largest]:
    _snake_case		=				right_index

  if largest != index:
    _snake_case,	_snake_case		=				unsorted[index], unsorted[largest]
    heapify(_UpperCamelCase					,			_UpperCamelCase					,			_UpperCamelCase	)



def  snake_case_(_UpperCamelCase	)				->      Any:



  """simple docstring"""






  _snake_case		=				len(_UpperCamelCase	)
  for i in range(n // 2 - 1					,			-1					,			-1	):
    heapify(_UpperCamelCase					,			_UpperCamelCase					,			_UpperCamelCase	)
  for i in range(n - 1					,			0					,			-1	):
    _snake_case,	_snake_case		=				unsorted[i], unsorted[0]
    heapify(_UpperCamelCase					,			0					,			_UpperCamelCase	)
  return unsorted


if __name__ == "__main__":
 __A     						=      input('''Enter numbers separated by a comma:\n''').strip()
 __A     						=      [int(item) for item in user_input.split(''',''')]
 print(heap_sort(unsorted))

