What is the smallest positive integer n such that the rightmost three digits of n and n + n! are the same?