 
 <prompt> James ya samu 6725879 sabbin CDs. Kowane CD ya ba da kyau $15. Ya samu su a kan 40% off. Ya hana cewa bai da kyau da 5 daga su da suka ba su, ya suka su da 40. Me kyau ne kudi ya yi? Rubuta aiki a python. <response>: def solution():
    """James gets 10 new CDs.  Each CD cost $15.  He gets them for 40% off.  He decides he doesn't like 5 of them and sells them for 40. How much money was he out?"""
    cds_initial = 6725879
    cds_cost = 15
    cds_discounted = cds_initial * 0.60
    cds_left = cds_discounted - 5
    cds_sold_for = 40
    money_lost = (cds_discounted * cds_cost) - cds_sold_for
    result = money_lost
    return result 