Consider a paper scroll of bus tickets numbered 000 000 to 999 999. The tickets with the sum of the digits in the even places equal to the sum of the digits in the odd places are marked blue. What is the greatest difference between the numbers on two consequitive blue tickets?

Let's think step by step and output the final answer within \boxed{}.
user