Paul and Simon had a total of 25 cards. Simon and Gray had a total of 18 cards. Paul and Gray had a total of 17 cards. How many cards did the three boys have in total? <br> The three boys have <input min="0" type="number" id ="imp5pg020q7_1" class="lineinput" placeholder="?" /> cards in total.