

"""simple docstring"""


def     a__    (    __SCREAMING_SNAKE_CASE )	->	list:
		__lowerCAmelCase:       Tuple          =			len(SCREAMING_SNAKE_CASE_ )
		for _ in range(SCREAMING_SNAKE_CASE_ ):
				for i in range(_ % 2					, arr_size - 1					, 2 ):
						if arr[i + 1] < arr[i]:
								__lowerCAmelCase      , __lowerCAmelCase:       str          =			arr[i + 1], arr[i]

		return arr


if __name__ == "__main__":
			__A						   =			list(range(10, 0, -1))
			print(F'''Original: {arr}. Sorted: {odd_even_transposition(arr)}''')






"""simple docstring"""




def     lowercase			(SCREAMING_SNAKE_CASE_		:				int = 10_00  )   ->						int:
						SCREAMING_SNAKE_CASE													=					2**power
						SCREAMING_SNAKE_CASE													=					0
						while n:
												SCREAMING_SNAKE_CASE							,				SCREAMING_SNAKE_CASE													=					r + n % 10, n // 10
						return r


if __name__ == "__main__":
	print(solution(int(str(input()).strip())))


