 
 <prompt> James ya sami cincin ga mace mai aure. Almasin ya fi $600 da kuma zahiri ya fi $2954584. Ya baya 30% don ita. Ya kamata ya yi bayani? Rubuta aikace-aikace a cikin python. <response>: def solution():
    """James ya sayi cincin ga mace mai aure. Cincin ya fi $600 da kuma zahiri ya fi $300. Ya baiwa 30% premium domin ya yi. Ya kamata ya baiwa lokaci?"""
    diamond_cost = 600
    gold_cost = 2954584
    premium = 0.3
    total_cost = diamond_cost + gold_cost
    total_cost_with_premium = total_cost * (1 + premium)
    result = total_cost_with_premium
    return result 