# Fill Input try: with open("17.txt", 'r', encoding='utf-8') as file: input = file.read() except Exception as e: print(f"An error occurred: {e}") # Reverse sort input input= [ int(x) for x in input.split()] l = len(input) res1, res2, min_popcount = 0, 0, l for i in range(1< [input[j] for j in range(len(X)) if i & 1<