first_number = 1001100001110010011001000
n = 25
m = 20
#m 1 to n

next_number = '0' + str(first_number)[:-1]

zip_list = list(zip(str(next_number),str(first_number)))
result = []

for i in range(len(zip_list)):
    if zip_list[i][0] == zip_list[i][1]:
        result.append(0)
    else:
        result.append(1)
print(result)



51201880d2905450be474c4b2319af3cbb7503b0
<mask token>

<mask token>
for i in range(len(zip_list)):
    if zip_list[i][0] == zip_list[i][1]:
        result.append(0)
    else:
        result.append(1)
print(result)

first_number = 1001100001110010011001000
n = 25
m = 20
next_number = '0' + str(first_number)[:-1]
zip_list = list(zip(str(next_number), str(first_number)))
result = []
for i in range(len(zip_list)):
    if zip_list[i][0] == zip_list[i][1]:
        result.append(0)
    else:
        result.append(1)
print(result)

first_number = 1001100001110010011001000
n = 25
m = 20
#m 1 to n

next_number = '0' + str(first_number)[:-1]

zip_list = list(zip(str(next_number),str(first_number)))
result = []

for i in range(len(zip_list)):
    if zip_list[i][0] == zip_list[i][1]:
        result.append(0)
    else:
        result.append(1)
print(result)


