






import decimal




def       _a   (							)  ->      Optional[int]:
 lowerCamelCase_							:    int							=     0
 lowerCamelCase_							:    Optional[int]							=     decimal.Context(prec=1_05				)
 for i in range(2 ,			1_00				):
  lowerCamelCase_							:    List[Any]							=     decimal.Decimal(lowerCamelCase__				)
  lowerCamelCase_							:    int							=     number.sqrt(lowerCamelCase__				)
  if len(str(lowerCamelCase__				)				) > 1:
   answer += int(str(lowerCamelCase__				)[0]				)
   lowerCamelCase_							:    int							=     str(lowerCamelCase__				)[2:1_01]
   answer += sum(int(lowerCamelCase__				) for x in sqrt_number_str				)
 return answer


if __name__ == "__main__":
       import doctest

       doctest.testmod()
       print(f'''{solution() = }''')







def      SCREAMING_SNAKE_CASE      (   lowerCAmelCase     ,							lowerCAmelCase     ,							lowerCAmelCase       ):
       _UpperCamelCase														=    index
       _UpperCamelCase														=    2 * index + 1
       _UpperCamelCase														=    2 * index + 2
       if left_index < heap_size and unsorted[left_index] > unsorted[largest]:
              _UpperCamelCase														=    left_index

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

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


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


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






