{"status": "success", "data": {"description_md": "For any positive integer $x$, let $S(x)$ be the sum of the digits of $x$, and let $T(x)$ be $|S(x+2)-S(x)|.$ For example, $T(199)=|S(201)-S(199)|=|3-19|=16.$ How many values $T(x)$ do not exceed 1999?\n___\nLeading zeroes must be inputted, so if your answer is `34`, then input `034`. Full credit goes to [MAA](https://maa.org/) for authoring these problems. These problems were taken on the [AOPS](https://artofproblemsolving.com/) website.", "description_html": "<p>For any positive integer <span class=\"katex--inline\">x</span>, let <span class=\"katex--inline\">S(x)</span> be the sum of the digits of <span class=\"katex--inline\">x</span>, and let <span class=\"katex--inline\">T(x)</span> be <span class=\"katex--inline\">|S(x+2)-S(x)|.</span> For example, <span class=\"katex--inline\">T(199)=|S(201)-S(199)|=|3-19|=16.</span> How many values <span class=\"katex--inline\">T(x)</span> do not exceed 1999?</p>&#10;<hr><p>Leading zeroes must be inputted, so if your answer is <code>34</code>, then input <code>034</code>. Full credit goes to <a href=\"https://maa.org/\">MAA</a> for authoring these problems. These problems were taken on the <a href=\"https://artofproblemsolving.com/\">AOPS</a> website.</p>", "hints_md": "", "hints_html": "", "editorial_md": "", "editorial_html": "", "flag_hint": "", "point_value": 3, "problem_name": "1999 AIME Problem 5", "can_next": true, "can_prev": true, "nxt": "/problem/99_aime_p06", "prev": "/problem/99_aime_p04"}}