a = [53941, 38641, 31525, 75864, 29026, 12199, 8352, 58200, 64784, 80987]
b = len(a) - 1
print(len(a))
for i in range(b):
    for j in range(i):
        if (a[i] + a[i + 1]) % 2 != 0:
            a[i], a[i + 1] = a[i + 1], a[i]
print(a)

b1f0b70279109219813d598fddebb4e9f6f291df
<mask token>

<mask token>
print(len(a))
for i in range(b):
    for j in range(i):
        if (a[i] + a[i + 1]) % 2 != 0:
            a[i], a[i + 1] = a[i + 1], a[i]
print(a)

a = [53941, 38641, 31525, 75864, 29026, 12199, 8352, 58200, 64784, 80987]
b = len(a) - 1
print(len(a))
for i in range(b):
    for j in range(i):
        if (a[i] + a[i + 1]) % 2 != 0:
            a[i], a[i + 1] = a[i + 1], a[i]
print(a)
