The integers 34041 and 32506, when divided by a three-digit integer n, leave the same remainder. What is the value of n?