'''simple docstring'''




def __lowerCAmelCase (							UpperCamelCase__				)	->    bool:
    return str(UpperCamelCase__				) == str(UpperCamelCase__				)[::-1]






def __lowerCAmelCase (							UpperCamelCase__				)	->    int:
    return int(UpperCamelCase__				) + int(str(UpperCamelCase__				)[::-1]				)






def __lowerCAmelCase (							UpperCamelCase__ = 1_00_00				)	->    int:
    __lowerCamelCase		=  []
    for num in range(1				,  UpperCamelCase__				):
        __lowerCamelCase		=  0
        __lowerCamelCase		=  num
        while iterations < 50:
            __lowerCamelCase		=  sum_reverse(UpperCamelCase__				)
            iterations += 1
            if is_palindrome(UpperCamelCase__				):
                break
        else:
            lychrel_nums.append(UpperCamelCase__				)
    return len(UpperCamelCase__				)


if __name__ == "__main__":
  print(f'{solution() = }')




"""simple docstring"""


def _lowerCamelCase	(		_UpperCamelCase      ):

			'''simple docstring'''




			__lowerCAmelCase				    =			False
			while is_sorted is False:  # Until all the indices are traversed keep looping
						__lowerCAmelCase				    =			True
						for i in range(0    , len(_UpperCamelCase      ) - 1    , 2      ):  # iterating over all even indices
									if input_list[i] > input_list[i + 1]:
												__lowerCAmelCase    ,	__lowerCAmelCase				    =			input_list[i + 1], input_list[i]
												# swapping if elements not in order
												__lowerCAmelCase				    =			False

						for i in range(1    , len(_UpperCamelCase      ) - 1    , 2      ):  # iterating over all odd indices
									if input_list[i] > input_list[i + 1]:
												__lowerCAmelCase    ,	__lowerCAmelCase				    =			input_list[i + 1], input_list[i]
												# swapping if elements not in order
												__lowerCAmelCase				    =			False
			return input_list


if __name__ == "__main__":
	print("Enter list to be sorted")
	A     :   Union[str, Any]			    =			[int(x) for x in input().split()]
	# inputing elements of the list in one line
	A     :   str			    =			odd_even_sort(input_list)
	print("The sorted list is")
	print(sorted_list)




