Let $N$ be the greatest four-digit integer with the property that whenever one of its digits is changed to $7$, the resulting number is divisible by $13$. Let $Q$ and $R$ be the quotient and remainder, respectively, when $N$ is divided by $1000$. Find $Q+R$.
← 返回第 674 题