Let's say I have these hex numbers in a list or array: 4d 2c 07 2c 77
Every number in this array should be substracted from it the next one to it like: 4d - 2c = 21
so I get my result. My solved problem is that from this array I get the result of every number bring the output of substracting the next one from itself and print the result instead the original one.