Given that x and y are both integers between 100 and 999, inclusive; y is the number formed by reversing the digits of x; and z=|x-y|. How many distinct values of z are possible?

(第二十届AIME2 2002 第1题)