we are to use the LCM
the LCM is 864.Then we have to look for the greatest four digit multiple of 864.
This can be easily be got by dividing the last four digit(9999) number by 864 giving 11.57...,this means that the number is (864 x11).Thus the number is 9504.