Find the remainder when 9 xx 99 xx 999 xx \underbrace{99 cdots 9}_{2017" " 9's} is divided by 1000?