When both 38 and 87 is both divided by a certain number,the reminder is 3. What is the number?