When 31513 ad 34369 are divided by a certain three digit number, the remainders are equal, then the remainder is ______.