{"status": "success", "data": {"description_md": "LeRoy and Bernardo went on a week-long trip together and agreed to share the costs equally.  Over the week, each of them paid for various joint expenses such as gasoline and car rental.  At the end of the trip it turned out that LeRoy had paid $A$ dollars and Bernardo had paid $B$ dollars, where $A<B$.  How many dollars must LeRoy give to Bernardo so that they share the costs equally?\n\n$\\textbf{(A)}\\ \\frac{A+B}{2} \\qquad \\textbf{(B)}\\ \\frac{A-B}{2} \\qquad \\textbf{(C)}\\ \\frac{B-A}{2} \\qquad \\textbf{(D)}\\ B-A \\qquad \\textbf{(E)}\\ A+B$\n___\nFull 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>LeRoy and Bernardo went on a week-long trip together and agreed to share the costs equally.  Over the week, each of them paid for various joint expenses such as gasoline and car rental.  At the end of the trip it turned out that LeRoy had paid  <span class=\"katex--inline\">A</span>  dollars and Bernardo had paid  <span class=\"katex--inline\">B</span>  dollars, where  <span class=\"katex--inline\">A&lt;B</span> .  How many dollars must LeRoy give to Bernardo so that they share the costs equally?</p>&#10;<p> <span class=\"katex--inline\">\\textbf{(A)}\\ \\frac{A+B}{2} \\qquad \\textbf{(B)}\\ \\frac{A-B}{2} \\qquad \\textbf{(C)}\\ \\frac{B-A}{2} \\qquad \\textbf{(D)}\\ B-A \\qquad \\textbf{(E)}\\ A+B</span> </p>&#10;<hr><p>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": 2, "problem_name": "2011 AMC 12B Problem 3", "can_next": true, "can_prev": true, "nxt": "/problem/11_amc12B_p04", "prev": "/problem/11_amc12B_p02"}}