Set \(A\) consists of \(m\) consecutive integers whose sum is \(2m,\)and set \(B\) consists of \(2m\) consecutive integers whose sum is \(m.\) The absolute value of the difference between the greatest element of \(A\) and the greatest element of \(B\) is 99. Find \(m.\)

(第二十二届AIME1 2004 第2题)